DPCNN
implement DPCNN for text classification
Install / Use
/learn @HaishuoFang/DPCNNREADME
Deep Pyramid Convolutional Neural Networks for Text Categorization
This is the implementation of DPCNN in tensorflow.

The key operation of this paper is
- fixed feature map:250
- 2 stride downsampling which can compress effective information of long distance.

The format of data :
- .csv file
- it has two columns,one column is content,the other column is label.
- you can modify value of parameter --file_name to use your train,val,test dataset.
- example in data/
- you should put your dataset in data/
python run.py --train --model_name DPCNN --write_vocab True --experiment_name test
When you run the code first time,you should set write_vocab True to write vocab for the data.
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
