Fasttext: when to provide FastText.zip code?

Created on 4 May 2017  路  2Comments  路  Source: facebookresearch/fastText

hello, I am interested in FastText.zip: Compressing text classification models, But when can you provide this code?
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

All 2 comments

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!

Was this page helpful?
0 / 5 - 0 ratings