649453932 / Chinese-Text-Classification-Pytorch

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

AttributeError: 'Config' object has no attribute 'n_gram_vocab' #119

Open Josoope opened 3 months ago

Josoope commented 3 months ago

用textcnn,显示没有n_gram_vocab

meteorshowering commented 2 months ago

用textcnn,显示没有n_gram_vocab

是不是config设置成fasttext的了?那个里面有n_gram_vocab