我的input.txt包含以下内容:
__label__SPAM buy our products
__label__HAM Please send me the last business forecast
__label__SPAM buy viagra
__label__HAM important meeting at 10:00AM
但是在运行命令之后:
./fasttext skipgram -input ~/PycharmProjects/Pcat/input.txt -output modelskipgram
我得到的输出为:
Read 0M words
Number of words: 0
Number of labels: 2
Progress: 100.0% words/sec/thread: 339 lr: 0.000000 loss: 0.000000 ETA: 0h 0m
我在做什么错了?
答案 0 :(得分:0)
我不确定您是否可以使用监督式跳过图,因为跳过图本身就是无监督模型。请尝试一下。
./fasttext supervised -input ~/PycharmProjects/Pcat/input.txt -output model