Comments (4)
The program is not occurred by min-scoring.
I think it is "pip install mxnet."
from mlm-scoring.
@Tanesan Now I get the error:
from mlm.scorers import MLMScorer, LMScorer
File ".mlm-scoring/src/mlm/scorers.py", line 8, in <module>
import gluonnlp as nlp
File "./venv_3.8/lib/python3.8/site-packages/gluonnlp/__init__.py", line 23, in <module>
from . import loss
File "./venv_3.8/lib/python3.8/site-packages/gluonnlp/loss/__init__.py", line 23, in <module>
from .activation_regularizer import *
File "./venv_3.8/lib/python3.8/site-packages/gluonnlp/loss/activation_regularizer.py", line 25, in <module>
from mxnet.gluon.loss import Loss
File "./venv_3.8/lib/python3.8/site-packages/mxnet/__init__.py", line 23, in <module>
from .context import Context, current_context, cpu, gpu, cpu_pinned
File "./venv_3.8/lib/python3.8/site-packages/mxnet/context.py", line 23, in <module>
from .base import classproperty, with_metaclass, _MXClassPropertyMetaClass
File "./venv_3.8/lib/python3.8/site-packages/mxnet/base.py", line 351, in <module>
_LIB = _load_lib()
File "./venv_3.8/lib/python3.8/site-packages/mxnet/base.py", line 342, in _load_lib
lib = ctypes.CDLL(lib_path[0], ctypes.RTLD_LOCAL)
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/ctypes/__init__.py", line 373, in __init__
self._handle = _dlopen(self._name, mode)
OSError: dlopen(./venv_3.8/lib/python3.8/site-packages/mxnet/libmxnet.dylib, 6): Symbol not found: ____chkstk_darwin
Referenced from: ./venv_3.8/lib/python3.8/site-packages/mxnet/libmxnet.dylib
Expected in: /usr/lib/libSystem.B.dylib
in ./venv_3.8/lib/python3.8/site-packages/mxnet/libmxnet.dylib
python-BaseException
Any idea? I am using MAC and Python3.8
from mlm-scoring.
I don't know much about it, but this URL may be helpful.
apache/mxnet#5487
from mlm-scoring.
@orko19 I was unable to reproduce your bug on a Mac.
Can you try again by creating a new virtual environment and installing MXNet and PyTorch using the following command?
pip install torch mxnet
from mlm-scoring.
Related Issues (20)
- if apply domain MLM-finetuning for rescoring HOT 1
- Update to transformers 4.x HOT 3
- ValueError: Model 'BertForMaskedLMOptimized' is not supported by the scorer 'RegressionFinetuner'. HOT 1
- Where is vocab file?
- Where is vocab file?
- how to integrate models not available via huggingface or gluon? HOT 3
- How to Compute Perplexity of a Sentence HOT 2
- "NotImplementedError" When trying to fine-tune any bert model
- PyTorch models HOT 3
- can I train new LM from scratch with hugging face roberta then use mlm scoring? HOT 1
- Can't load tokenizer for 'xlm-roberta-large' HOT 1
- Help for Distil Roberta
- Using mlm-scoring with other public PyTorch RoBERTa model
- Understanding runtimes of different models HOT 1
- Increasing batch size when using command-line mlm score HOT 1
- xlm-roberta example? HOT 2
- How to integrate this with MuRIL? HOT 2
- IndexError: too many indices for tensor of dimension 1 HOT 2
- Hardcoded GPU 0? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mlm-scoring.