项目
在 GitHub 查看
dalinvip/cnn-lstm-bilstm-deepcnn-clstm-in-pytorch
关于
在 PyTorch 中学习 CNN、BiLSTM 等神经网络。
系统与基础设施实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 0
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Introduction
- A classification task implement in pytorch, contains some neural networks in models.
- Recenely, I've released the code.
This is a version of my own architecture --- pytorch-text-classification
BERT For Text Classification --- PyTorch_Bert_Text_Classification
Requirement
pyorch : 1.0.1
python : 3.6
torchtext: 0.2.1
cuda : 8.0 (support cuda speed up, can chose, default True)
Usage
modify the config file, see the Config directory(here) for detail.
1、python main.py
2、python main.py --config_file ./Config/config.cfg
3、sh run.sh
Model
Contains some neural networks implement in pytorch, see the models for detail.
Data
SST-1 and SST-2.
Result
I haven't adjusted the hyper-parameters seriously, you can also see train log in here.
The following test set accuracy are based on the best dev set accuracy.
| Data/Model | % SST-1 | % SST-2 |
|---|---|---|
| CNN | 46.1086 | 84.2943 |
| Bi-LSTM | 47.9186 | 86.3262 |
| Bi-GRU | 47.6923 | 86.7655 |
Reference
探索相关项目
加载中…