Be notified of new releases
Create your free GitHub account today to subscribe to this repository for new releases and build software alongside 28 million developers.Sign up
We are happy to announce the change of the license from BSD+patents to MIT and the release of fastText 0.2.0.
The main purpose of this release is to set a beta C++ API of the
FastText class. The class now behaves as a computational library: we moved the display and some usage error handlings outside of it (mainly to
fasttext_pybind.cc). It is still compatible with older versions of the class, but some methods are now marked as deprecated and will probably be removed in the next release.
In this respect, we also introduce the official support for python. The python binding of fastText is a client of the
Here is a short summary of the 104 commits since 0.1.0 :
- Introduction of the “OneVsAll” loss function for multi-label classification, which corresponds to the sum of binary cross-entropy computed independently for each label. This new loss can be used with the
-loss one-vs-allcommand line option ( 8850c51 ).
- Computation of the precision and recall metrics for each label ( be1e597 ).
- Removed printing functions from
FastTextclass ( 256032b ).
- Better default for number of threads ( 501b9b1 ).
- Python support ( f10ec1f ).
- More tests for circleci/python ( eb9703a, 97fcde8, 1de0624 ).
Bug fixes :
- Normalize buffer vector in analogy queries.
- Typo fixes and clarifications on website.
- Improvements on python install issues :
setup.pyOS X compiler flags, pybind11 include.
- Fix: getSubwords for EOS.
- Fix: ETA time.
- Fix: division by 0 in word analogy evaluation.
- Fix for the infinite loop on ARM cpu.
Worth noting :
- We added circleci build badges to the
- We modified the style to be in compliance with Facebook C++ style.
- We added coverage option for
setup.pyin order to build for measuring the coverage.
Thank you fastText community!
We want to thank you all for being a part of this community and sharing your passion with us. Some of these improvements would not have been possible without your help.