Skip to content

OpenTextClassification is all you need for text classification! Open text classification for everyone, enjoy your NLP journey! 这可能是目前为止最全面的开源文本分类项目,支持中英双语、多种模型、多种任务。

Notifications You must be signed in to change notification settings

catqaq/OpenTextClassification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text Classification

  • Dataset: yahoo_answers_csv (yahoo)
  • Model: CNN/LSTM/GRU.
  • Pytorch: 1.0.1
  • Python: 3.6
  • torchtext: 0.3.1.
  • Support pretrained word embedding.(word2vec)

torchtext

  • This package can provide an elegant way to build vocabulary(torchtext).
TEXT.build_vocab(dataset, vectors)

Training

  • The following command starts training.
python main.py

Refs

About

OpenTextClassification is all you need for text classification! Open text classification for everyone, enjoy your NLP journey! 这可能是目前为止最全面的开源文本分类项目,支持中英双语、多种模型、多种任务。

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages