Skip to content

Deep learning methods for chinese text classification

Notifications You must be signed in to change notification settings

wonyonyon/text_classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text Classification

cnn、rnn、rcnn、rcnn_attention、transformer based pre-trained word embedding
bert,albert,ernie based char and pre-trained language model

Description

Download pre-trained language model and chinese news dataTHUCNews

How to use

# classification based  pre-trained word embedding
python run.py --model cnn --data_conf conf/data.yaml

# bert or else based char
python run.py --model bert --data_conf conf/data.yaml

Preferences

[1] BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
[2] Convolutional Neural Networks for Sentence Classification
[3] Recurrent Convolutional Neural Networks for Text Classification [4] attention-is-all-you-need-pytorch

About

Deep learning methods for chinese text classification

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages