Skip to content

Model quantization does not work anymore  #8

@sworddish

Description

@sworddish

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

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