Giter Site home page Giter Site logo

Comments (5)

pyk avatar pyk commented on June 1, 2024 1

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.

EdouardGrave avatar EdouardGrave commented on June 1, 2024

Yes, I agree. I will fix this tomorrow.

from fasttext.

EdouardGrave avatar EdouardGrave commented on June 1, 2024

This should be fixed now.

from fasttext.

pyk avatar pyk commented on June 1, 2024

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.

tianyunzqs avatar tianyunzqs commented on June 1, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.