Comments (5)
For small dataset minCount
should be explicitly set to avoid this hang problem
% cat data.txt
simple
statement
% ./fasttext skipgram -input data.txt -output model -minCount 1
Read 0M words
Number of words: 3
Number of labels: 0
Progress: 100.0% words/sec/thread: 5 lr: 0.000001 loss: -nan eta: 0h0m
Train time: 5.000000 sec
I think it's better for fasttext(1)
to throw an error if the case like this happen, not just hang
from fasttext.
Yes, I agree. I will fix this tomorrow.
from fasttext.
This should be fixed now.
from fasttext.
Thanks! 👍
On Friday, 2 September 2016, Edouard Grave <[email protected]
javascript:_e(%7B%7D,'cvml','[email protected]');> wrote:
This should be fixed now.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#63 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACHHDst2eimC5jhhX00kUGLnPhl9EMLPks5qmCJggaJpZM4JtBTx
.
Bayu Aldi Yansyah,
Universitas Airlangga
https://github.com/pyk
from fasttext.
some uncommon result showed as follow (but no error) when fasttext used.
The version of Python is 3.5
I get the result as follow with the introduction in https://github.com/miguelgfierro/sciblog_support/blob/master/Intro_to_NLP_with_fastText/Intro_to_NLP.ipynb
does anyone know how to fix it ?
-------uncommon result-------
3.5.3 (v3.5.3:1880cb95a742, Jan 16 2017, 16:02:32) [MSC v.1900 64 bit (AMD64)]
P@1: nan
R@1: nan
Number of examples: 0
from fasttext.
Related Issues (20)
- 🔥 Any plans to update the pre-trained model for Language Identification? HOT 1
- AWS - No module named 'fasttext_pybind' HOT 2
- @abdoulfatah Omar Abdillahi HOT 1
- So many wrong predictions in latest version?
- Replicating Results HOT 3
- if i want to load pretrained model and train, what should i do HOT 1
- How is the underlying embedding matrix updated?
- Cannot install FastText on Windows using pip HOT 6
- Fa
- Improved LangID model?
- Run WASM in web worker HOT 1
- Name of the researchers in references doesn't look aligned well.
- Is there any implementation using fastutil to save memory?
- Makefile dependency errors
- How to do a nearest neighbor search with input of a word vector rather than a word?
- Is fasttext reentrant?
- the number of words in a one-million-token corpus is only 15173?
- The Neapolitan model is unusable
- Backward compatibility with C++11 HOT 2
- Github
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fasttext.