chinese_text_cnn:TextCNN Pytorch实现中文文本分类情感分析

时间:2021-02-03 18:24:55
【文件属性】:
文件名称:chinese_text_cnn:TextCNN Pytorch实现中文文本分类情感分析
文件大小:5.99MB
文件格式:ZIP
更新时间:2021-02-03 18:24:55
nlp text-classification chinese-text-classification text-cnn NaturallanguageprocessingPython TextCNN Pytorch实现中文文本分类 论文 参考 依赖项 python3.5 pytorch == 1.0.0 torchtext == 0.3.1 jieba == 0.39 词向量 (这里用的是Zhihu_QA知乎问答训练出来的单词Word2vec) 用法 python3 main.py -h 训练 python3 main.py 准确率 CNN-rand随机初始化嵌入 python main.py Batch[1800] - loss: 0.009499 acc: 100.0000%(128/128) Evaluation - loss: 0.0000
【文件预览】:
chinese_text_cnn-master
----.gitignore(1KB)
----README.md(2KB)
----dataset.py(647B)
----train.py(3KB)
----main.py(5KB)
----model.py(2KB)
----data()
--------test.tsv(669KB)
--------train.tsv(5.88MB)
--------ch_auto.csv(7.26MB)
--------dev.tsv(729KB)

网友评论