Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MRG] Optimize Native unsupervised FastText #1742

Merged
merged 24 commits into from
Dec 7, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
ceb24ab
adds fasttext extension to setup
manneshiva Nov 26, 2017
fa3aa49
cythonizes training using skipgram with negative sampling
manneshiva Nov 26, 2017
da45be3
loop over indexes using index iterator
manneshiva Nov 26, 2017
a8df8e1
cythonizes training using skipgram with hierarchical softmax
manneshiva Nov 27, 2017
1e51a92
adds cython generated .c file
manneshiva Nov 27, 2017
838e833
resolves segmentation fault with multiple workers
manneshiva Nov 27, 2017
73e9176
fixes accuracy issues due to reference counts of word_subwords becomi…
manneshiva Nov 27, 2017
2d0e1a6
cythonizes fasttext cbow architecture
manneshiva Nov 28, 2017
772267a
cleans extra variables/values
manneshiva Nov 29, 2017
19a5da0
corrects parameters order for word_locks* in cbow
manneshiva Nov 30, 2017
9dafbd5
fixes indentation, unused imports and logging warning for slow version
manneshiva Dec 1, 2017
796ec91
splits long lines and removes redundant `import`/`else`
manneshiva Dec 1, 2017
5a4e627
minor: removes redundant `else`
manneshiva Dec 1, 2017
b471fde
adds docstring
manneshiva Dec 3, 2017
eee20ef
changes docstrings style, splits long lines
manneshiva Dec 4, 2017
b97e68c
Merge branch 'develop' into optimize_fasttext
manneshiva Dec 5, 2017
2dee387
Merge branch 'develop' into optimize_fasttext
manneshiva Dec 5, 2017
1b3e2d3
fix references in fasttext docstring
menshikh-iv Dec 5, 2017
81eebfb
adds deleted else in cbow-neg
manneshiva Dec 5, 2017
2560e1d
fixes docstring format
manneshiva Dec 6, 2017
7b8673a
adds missing docstrings
manneshiva Dec 7, 2017
144fab9
add missing __getitem__ to rst
menshikh-iv Dec 7, 2017
c3f5d74
add missing import to __init__ (`from gensim.models import FastText` …
menshikh-iv Dec 7, 2017
327f4ca
fix docs
menshikh-iv Dec 7, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ include gensim/models/word2vec_inner.pyx
include gensim/models/word2vec_inner.pxd
include gensim/models/doc2vec_inner.c
include gensim/models/doc2vec_inner.pyx
include gensim/models/fasttext_inner.c
include gensim/models/fasttext_inner.pyx
1 change: 1 addition & 0 deletions docs/src/models/fasttext.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
:synopsis: FastText model
:members:
:inherited-members:
:special-members: __getitem__
:undoc-members:
:show-inheritance:
1 change: 1 addition & 0 deletions gensim/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
from .normmodel import NormModel # noqa:F401
from .atmodel import AuthorTopicModel # noqa:F401
from .ldaseqmodel import LdaSeqModel # noqa:F401
from .fasttext import FastText # noqa:F401

from . import wrappers # noqa:F401

Expand Down
533 changes: 458 additions & 75 deletions gensim/models/fasttext.py

Large diffs are not rendered by default.

Loading