A picture is worth a thousand words ! |
---|
Sentences are subset of **THUCTC **(THU Chinese Text Classification), http://thuctc.thunlp.org/, format as fastText.
python train.py -h
python eval.py -h
python predict.py -h
Your text must be separated by space and longer than the max kernel size (Reference config.py).
-
python 3.6.2
-
pytorch 1.0.0
-
torchtext 0.4.0
TextCNN is released under the [Apache 2.0 license]
通用文本分类器.