FastText之train_supervised参数说明:
input_file 训练文件路径(必须)
model skipgram或者CBOW default skipgram
lr 学习率 default 0.1
dim 词向量维度 default 100
ws 上下文窗口大小 default 5
epoch epochs 数量 default 5
min_count 最低词频 default 1
minCountLabel minimal number of label occurences default 0
minn 最小词长度 default 0
maxn 最大词长度 default 0
neg 负采样数目 default 5
wordNgrams n-gram 设置 default 1
loss 损失函数 {ns,hs,softmax} default softmax
bucket number of buckets [2000000]
thread 线程数 multiprocessing.cpu_count() - 1
lrUpdateRate 学习率更新速率 default 100
change the rate of updates for the learning rate
t sampling threshold [0.0001]
label label prefix [’_label_’]
verbose default 2
pretrainedVectors 指定使用已有的词向量 .vec 文件 default ""
pretrained word vectors (.vec file) for supervised learning