How to save fasttext model in vec format?

后端 未结 2 1673
伪装坚强ぢ
伪装坚强ぢ 2021-01-12 14:37

I trained my unsupervised model using fasttext.train_unsupervised() function in python. I want to save it as vec file since I will use this file for pretr

2条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-12 15:36

    you should add words num and dimension at first line of your vec file, than use -preTrainedVectors para

提交回复
热议问题