3 ms·
I tried using the danish .bin with fastText predict and a single danish sentence but I keep on getting an assert error from vector.cpp around A._m not equal to
by sorenvrist 10y ago
I tried using the danish .bin with fastText predict and a single danish sentence but I keep on getting an assert error from vector.cpp around A._m not equal to _m. Am I doing something wrong?
./fastText predict wiki.da.bin fileWithASingleLine 1
- exgrv 10y agoThese models were trained in an unsupervised way, and thus cannot be used with the "predict" mode of fastText. The .bin models can be used to generate word vectors for out-of-vocabulary words: > echo 'list of words' | ./fasttext print-vectors model.bin or > ./fasttext print-vectors model.bin < queries.txt where queries.txt is a list of words you want a vector representation for.