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

May this can load model train by c++ version #28

Open
Trangle opened this issue Aug 11, 2017 · 3 comments
Open

May this can load model train by c++ version #28

Trangle opened this issue Aug 11, 2017 · 3 comments

Comments

@Trangle
Copy link

Trangle commented Aug 11, 2017

the wrong error information is:
java.lang.IllegalArgumentException: Unknown loss_name enum value :4
at fasttext.Args$loss_name.fromValue(Args.java:49)
at fasttext.Args.load(Args.java:127)
at fasttext.FastText.loadModel(FastText.java:147)

I trained this model use parameter like this:
fastText.exe supervised -input news_for_train1.csv -output news_ft2.model -dim 64 -lr 0.1 -epoch 100 -wordNgrams 5 -loss softmax

@attapol
Copy link

attapol commented Oct 20, 2017

I've got the same problem.

1 similar comment
@iceduanxx
Copy link

I've got the same problem.

@sszuev
Copy link

sszuev commented Jan 18, 2018

It seems this repo is not supported anymore, you can try our fork https://github.com/sszuev/fastText_java Up-to-date models (currently v12) must be loaded fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants