Dalei Li
Dalei Li
What kind of code? What is your running environment? I tried to train a classifier from europarl.train (302MB, 21 classes). The process took less than 5 minutes.
You can upgrade the fastText within the cpp folder to the released version. Then run `mvn clean install`. The compiled jar package with dependency will be compatible with newer pre-trained...
'getVector' is deprecated: getVector is being deprecated and replaced by getWordVector. Besides, class Vector was rewritten. You cannot access data_ or m_ member of a vector. Instead, you have to...
Could you release you code?
You should merely use `jfasttext-0.1.0-jar-with-dependencies.jar`, which can be generated by running `mvn clean install`.
Btw, you should clone the subfolder 'src/main/cpp/fastText' to compile a native library. @TamouzeAssi @xikunlun001 https://github.com/lidalei/fastText
@TamouzeAssi `Model file's format is not compatible with this JFastText version` means you should train your model with the corresponding fastText or JFastText. Don't use pip to install fasttext which...
You can download word embeddings from https://fasttext.cc/docs/en/pretrained-vectors.html. I haven't tried but believe they work. JFastText relies on fastText. If JFastText complains, it means the model was trained with a non-compatible...
@TamouzeAssi I guess you were trying to load a word embedding. It cannot! Try to load a model from https://fasttext.cc/docs/en/language-identification.html.
@TamouzeAssi If it did not work, try to use python interface of fastText to load your model.