Skip to content

SIGSEGV error on big models #24

@aralroca

Description

@aralroca

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:

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".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions