Need help with DPCNN?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

Cheneng
163 Stars 37 Forks 6 Commits 3 Opened issues

Description

Deep Pyramid Convolutional Neural Networks for Text Categorization in PyTorch

Services available

!
?

Need anything else?

Contributors list

# 357,214
Python
6 commits

Deep Pyramid Convolutional Neural Networks for Text Categorization

This is a simple version of the paper Deep Pyramid Convolutional Neural Networks for Text Categorization.

'model'

You should rewrite the Dataset class in the data/dataset.py
and put your data in '/data/train' or any other directory.

run by

python main.py --lr=0.001 --epoch=20 --batch_size=64 --gpu=0 --seed=0 --label_num=2         

Evaluation

I run the model in a dataset about AD identify.
And make a comparition between the TextCNN, LSTM and our DPCNN.

Loss of TextCNN and LSTM.

Loss of DPCNN.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.