issues
search
649453932
/
Chinese-Text-Classification-Pytorch
中文文本分类,TextCNN,TextRNN,FastText,TextRCNN,BiLSTM_Attention,DPCNN,Transformer,基于pytorch,开箱即用。
MIT License
5.25k
stars
1.22k
forks
source link
您好,代码仿佛没有把标签one-hot化吧,那样怎么能用交叉熵呢,如果说错可能是我看走眼了
#70
Open
TianlinZhang668
opened
3 years ago
cat-knight
commented
3 years ago
这个本来就不用,你可以去看一下pytorch里交叉熵损失函数的原码
这个本来就不用,你可以去看一下pytorch里交叉熵损失函数的原码