Comments (4)
I don't know why but It takes very long to load model's '.bin' as dictionary. I've trying to load the english pre-trained word vectors and after a day, it hasn't finished the "Load dict from trained model" step.
from fasttext.
I am also trying with ./fasttext [...] -inputModel myModel.bin -inc
. I am getting this here:
Update args
Load dict from trained model
Load dict from training data
Read 132M words
Number of words: 3919267
Number of labels: 0
Merge dict
fasttext: src/dictionary.cc:139: std::__cxx11::string fasttext::Dictionary::getWord(int32_t) const: Assertion `id < size_' failed.
from fasttext.
@yohanguez @AritzBi @benman1 actually, with the following, no error occurred.
- train first model:
./fasttext supervised -input training_data -output supervised-model
supervised-model.bin
and supervised-model.vec
were generated.
- incremental training with new data: new_training_data
./fasttext supervised -input new_training_data -inputModel supervised-model.bin -output re-supervised-model -incr
training started and then, re-supervised-model.bin
and re-supervised-model.vec
were generated.
same as for unsupervised, like 'cbow'.
could you debug it step by step, appreciation for your any efforts. Also, I'll exam the code.
from fasttext.
do training/incr-training with word-vector-example.sh, no errors. Please retry with the latest code. THKS
from fasttext.
Related Issues (11)
- Errors during loading Dictionary for word embedding incremental training HOT 2
- Memory error while loading wiki-news model for incremental learning HOT 3
- Word embeddings (vectors) lost their 'sense' after incr training HOT 2
- build failed HOT 1
- Error in make HOT 1
- download the release version,compile and run fasttext skipgram, why not show surpport for -inputModel parameter for pretrain model, is there something wrong with my compile? HOT 1
- Installation on windows HOT 1
- wiki.en.bin cannot be opened for re-training? HOT 2
- Dimension mismatch when using pretrained vectors
- Regarding Incremental training
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 fasttext.