Skip to content

Latest commit

 

History

History
28 lines (12 loc) · 306 Bytes

README.md

File metadata and controls

28 lines (12 loc) · 306 Bytes

TextCNN

使用pytorch + torchtext实现的TextCNN文本分类器

requirements

  • python=3.6
  • torch==1.0.0
  • torchtext==0.3.1
  • jieba==0.39

structure

  • main.py:加载数据集,训练模型
  • model.py:模型文件,定义模型

details

  • torchtext.md:torchtext详解