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

Model quantization does not work anymore #8

Open
sworddish opened this issue Apr 8, 2020 · 2 comments
Open

Model quantization does not work anymore #8

sworddish opened this issue Apr 8, 2020 · 2 comments

Comments

@sworddish
Copy link

I tried model.quantize yesterday and if failed with the following error message:

Assertion failed: (counts.size() == osz_), function setTargetCounts, file src/model.cc, line 331.

Even if I comment the line 331 out, I can get the compressed model, but the P@1 dropped significantly.

@mwydmuch I hope you can take a look at this issue, I'm trying to fix it right now.

And by the way, there was a few issues which mentioned similar error message in original facebook/fastText forum facebookresearch#73

@mathias3
Copy link

same problem here. Code is based on fasttext 0.1.0 - is there a plan to update it to current 0.9.2 or any active /passive development. Or was it just exploratory repo as a POC added to published paper @mwydmuch ?

@mwydmuch
Copy link
Owner

mwydmuch commented May 23, 2020

Hi @sworddish, @mathias3, I plan to move extremeText to the new fastText code, but I will have time for at the end of June.

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

No branches or pull requests

3 participants