Comments (4)
I've just updated elit/data/model/dep/jumbo-fasttext100
in my home path. Please try it.
from elit.
I don't know if this was caused by this patch.
>>> import mxnet as mx
>>> from elit.nlp.dep.parser.parser import BiaffineParser
>>> path = '/home/hhe43/elit/data/model/dep/jumbo-fasttext100'
>>> parser = BiaffineParser(context=mx.gpu(0))
>>> parser.load(path)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/glai2/elit/elit/nlp/dep/parser/parser.py", line 166, in load
self._vocab = ParserVocabulary.load(self._config.save_vocab_path)
File "/home/glai2/elit/elit/nlp/dep/common/savable.py", line 31, in load
return pickle.load(f)
ModuleNotFoundError: No module named 'elit.dep'
>>>
from elit.
No, the model class was in 'elit.dep'
, after moving away, pickle complaints this. Let me try to make a new pickle file.
from elit.
Data has been updated.
from elit.
Related Issues (20)
- <codecvt> is not supported for in certain gcc version
- TSVReader api is broken.
- Two distributions need. CPU and GPU version HOT 3
- Get ValueError when the Input format is line
- Replace the fasttext requirement HOT 2
- WordVectorModel doesn't exist in the latest version of facebook fasttext.
- GloVe wrapper to VectorSpace Model HOT 1
- Change the menu color in Sphinx
- Things To Do
- Code refactoring
- Path should be passed to Embedding HOT 2
- read_pretrained_embeddings HOT 1
- gpu config should be explicitly HOT 1
- elit/nlp/dep/parser/common/data.py HOT 5
- move out nlp components HOT 5
- `load` functions
- AttributeError: 'NoneType' object has no attribute '_vocab' HOT 2
- ImportError HOT 2
- AttributeError HOT 7
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 elit.