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

Dimension of pretrained vectors does not match -dim option #41

Open
Francopoulo opened this issue Jul 12, 2018 · 1 comment
Open

Dimension of pretrained vectors does not match -dim option #41

Francopoulo opened this issue Jul 12, 2018 · 1 comment

Comments

@Francopoulo
Copy link

Hi,
I try to use with the supervised command a pretrainedVector.
This vector has this first line: 170830 100
And I have this message: Dimension of pretrained vectors does not match -dim option
I tried to set the option "-dim","100".
But no way.
Have you an idea, please?
Gil

@Francopoulo
Copy link
Author

Here is the code:
JFastText jft= new JFastText();
jft.runCmd(new String[] {
"skipgram",
"-input", "unlabbelled.txt",
"-output", voca,
"-bucket", "100",
"-minCount", "1",
});
jft.runCmd(new String[] {
"supervised",
"-input", "train.txt",
"-output", "supervised.model",
"-pretrainedVectors", "voca.bin",
});

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

1 participant