hello, I am interested in FastText.zip: Compressing text classification models, But when can you provide this code?
thank you very much!
Hello @IvyGongoogle,
In fact the repository already contains this code. Check out the 'quantization-example.sh' script and its content. This script creates a quantized model (you can find it in the result folder with file ending '.ftz') and also tests it. To see the savings in disk space compare the file size of the .ftz file with the corresponding .bin file (the script will also print these numbers). Let me know if this works for you!
Thank you,
Christian
@cpuhrsch my god. it seems to be added into your this repository a day ago. I have tested it. Wonderful!
thank you very much!
Most helpful comment
Hello @IvyGongoogle,
In fact the repository already contains this code. Check out the 'quantization-example.sh' script and its content. This script creates a quantized model (you can find it in the result folder with file ending '.ftz') and also tests it. To see the savings in disk space compare the file size of the .ftz file with the corresponding .bin file (the script will also print these numbers). Let me know if this works for you!
Thank you,
Christian