Open aralroca opened 3 years ago
I see that there is an error when loading big models. I used the cc.en.300.bin example of the fastText webpage:
cc.en.300.bin
https://fasttext.cc/docs/en/crawl-vectors.html
Used code:
const path = require('path'); const fastText = require('fasttext'); const model = path.resolve(__dirname, './cc.en.300.bin'); const query = new fastText.Query(model); query.nn('salmon', 5) .then(r => console.log(r)) .catch(e => console.log('Error', e))
Error on execute:
error Command failed with signal "SIGSEGV".
Node version v14.15.5
v14.15.5
I see that there is an error when loading big models. I used the
cc.en.300.bin
example of the fastText webpage:https://fasttext.cc/docs/en/crawl-vectors.html
Used code:
Error on execute: