Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added better error message for unsupported fastText supervised models #1645

Merged
merged 1 commit into from
Oct 24, 2017
Merged

Added better error message for unsupported fastText supervised models #1645

merged 1 commit into from
Oct 24, 2017

Conversation

ElSaico
Copy link
Contributor

@ElSaico ElSaico commented Oct 23, 2017

Fixes #1498.

Also adds a new corpus on test data for when fastText supervised model support comes (possibly too large, might be replaced by a smaller one if that's an issue).

The workaround for facebookresearch/fastText#218 was also removed, since that issue got fixed upstream (and was related to an external corpus, not to the software itself).

@menshikh-iv
Copy link
Contributor

Hi @ElSaico, nice work, but model is VERY large, please create very small model (<=1MB) and add it for test.

@ElSaico
Copy link
Contributor Author

ElSaico commented Oct 24, 2017

@menshikh-iv just shrank it down to a model 1/10 of the size - and --amended it so that it doesn't clog the repo history.

@menshikh-iv
Copy link
Contributor

Congratz with your first contribution @ElSaico 🥇

@menshikh-iv menshikh-iv merged commit 9481915 into piskvorky:develop Oct 24, 2017
horpto pushed a commit to horpto/gensim that referenced this pull request Oct 28, 2017
@ElSaico ElSaico deleted the supervised-fasttext-error branch January 15, 2018 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error "mismatched vocab_size" loading supervised model with FastText.load_fasttext_format
2 participants