649453932 / Chinese-Text-Classification-Pytorch

中文文本分类,TextCNN,TextRNN,FastText,TextRCNN,BiLSTM_Attention,DPCNN,Transformer,基于pytorch,开箱即用。
MIT License
5.25k stars 1.22k forks source link

关于自己的数据集lable只有三四类需要怎么办 #48

Open Alenhuoga opened 4 years ago

Alenhuoga commented 4 years ago

请问如果自己的文本不是分九类,Lable只有三四类 该怎么办

wd6 commented 4 years ago

你只需要把 THUCNews/data/class.txt 文件夹里的类别名称换成你的就好了吧