Open Francopoulo opened 6 years ago
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", });
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