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

update fastText to latest upstream master #19

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
15 changes: 12 additions & 3 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,20 @@
[ "OS=='mac'", {
"cflags+": [ "-stdlib=libc++" ],
"xcode_settings": {
"OTHER_CPLUSPLUSFLAGS" : [ "-std=c++11", "-stdlib=libc++", "-pthread" ],
"OTHER_LDFLAGS": [ "-stdlib=libc++" ],
"OTHER_CPLUSPLUSFLAGS" : [
"-std=c++0x",
"-stdlib=libc++",
"-march=native",
"-O3",
"-funroll-loops",
"-c",
"-pthread" ],
"OTHER_LDFLAGS": [
"-stdlib=libc++"
],
"GCC_ENABLE_CPP_EXCEPTIONS": "YES",
"MACOSX_DEPLOYMENT_TARGET": "10.7",
"CLANG_CXX_LANGUAGE_STANDARD":"c++11",
"CLANG_CXX_LANGUAGE_STANDARD":"c++0x",
"CLANG_CXX_LIBRARY": "libc++"
},
}],
Expand Down
2 changes: 1 addition & 1 deletion fastText
Submodule fastText updated 67 files
+0 −1 .circleci/cmake_test.sh
+126 −40 .circleci/config.yml
+12 −0 .circleci/pip_test.sh
+12 −0 .circleci/python_test.sh
+14 −0 .circleci/run_locally.sh
+12 −0 .circleci/setup_circleimg.sh
+12 −0 .circleci/setup_debian.sh
+1 −1 CMakeLists.txt
+3 −0 CONTRIBUTING.md
+27 −15 README.md
+125 −0 docs/crawl-vectors.md
+28 −4 docs/english-vectors.md
+21 −19 docs/faqs.md
+2 −2 docs/language-identification.md
+2 −2 docs/options.md
+8 −3 docs/pretrained-vectors.md
+4 −4 docs/supervised-tutorial.md
+14 −14 docs/unsupervised-tutorials.md
+46 −101 python/README.md
+133 −0 python/README.rst
+82 −0 python/doc/examples/FastTextEmbeddingBag.py
+80 −77 python/doc/examples/compute_accuracy.py
+43 −0 python/doc/examples/train_supervised.py
+57 −0 python/doc/examples/train_unsupervised.py
+58 −17 python/fastText/FastText.py
+116 −32 python/fastText/pybind/fasttext_pybind.cc
+0 −7 python/fastText/test/README.md
+0 −607 python/fastText/test/test_script.py
+15 −0 python/fastText/tests/__init__.py
+240 −0 python/fastText/tests/test_configurations.py
+631 −0 python/fastText/tests/test_script.py
+14 −0 python/fastText/util/__init__.py
+61 −0 python/fastText/util/util.py
+61 −0 runtests.py
+19 −0 scripts/kbcompletion/README.md
+70 −0 scripts/kbcompletion/data.sh
+109 −0 scripts/kbcompletion/eval.cpp
+50 −0 scripts/kbcompletion/fb15k.sh
+46 −0 scripts/kbcompletion/fb15k237.sh
+40 −0 scripts/kbcompletion/svo.sh
+50 −0 scripts/kbcompletion/wn18.sh
+2 −2 scripts/quantization/quantization-results.sh
+58 −23 setup.py
+30 −2 src/args.cc
+17 −15 src/args.h
+51 −11 src/dictionary.cc
+8 −5 src/dictionary.h
+122 −99 src/fasttext.cc
+21 −11 src/fasttext.h
+105 −21 src/main.cc
+46 −56 src/matrix.cc
+47 −22 src/matrix.h
+49 −40 src/model.cc
+7 −8 src/model.h
+12 −10 src/productquantizer.cc
+19 −28 src/qmatrix.cc
+2 −3 src/qmatrix.h
+23 −44 src/vector.cc
+21 −7 src/vector.h
+203 −0 tests/fetch_test_data.sh
+0 −286 tutorials/supervised-learning.md
+0 −307 tutorials/unsupervised-learning.md
+1 −1 website/blog/2017-05-02-blog-post.md
+7 −7 website/pages/en/index.js
+1 −0 website/sidebars.json
+2 −2 website/siteConfig.js
+ website/static/img/cbo_vs_skipgram.png
Loading