Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize Native unsupervised FastText (#1742)
* adds fasttext extension to setup * cythonizes training using skipgram with negative sampling * loop over indexes using index iterator * cythonizes training using skipgram with hierarchical softmax * adds cython generated .c file * resolves segmentation fault with multiple workers * fixes accuracy issues due to reference counts of word_subwords becoming 0 * cythonizes fasttext cbow architecture * cleans extra variables/values * corrects parameters order for word_locks* in cbow * fixes indentation, unused imports and logging warning for slow version * splits long lines and removes redundant `import`/`else` * minor: removes redundant `else` * adds docstring * changes docstrings style, splits long lines * fix references in fasttext docstring * adds deleted else in cbow-neg * fixes docstring format * adds missing docstrings * add missing __getitem__ to rst * add missing import to __init__ (`from gensim.models import FastText` instead of `from gensim.models.fasttext ...`) * fix docs
- Loading branch information