Skip to content

Commit e7b29a3

Browse files
authored
Update README.md
1 parent 5e49f84 commit e7b29a3

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Text Classification
2-
- Dataset: yahoo_answers_csv ([yahoo](https://s3.amazonaws.com/fast-ai-nlp/yahoo_answers_csv.tgz))
3-
- Model: CNN/LSTM/GRU.
2+
- Dataset: [yahoo/dbpedia...](https://drive.google.com/drive/u/0/folders/0Bz8a_Dbh9Qhbfll6bVpmNUtUcFdjYmF2SEpmZUZUcVNiMUw1TWN6RDV3a0JHT3kxLVhVR2M)
3+
- Model: CNN/(Bi)LSTM/(Bi)GRU.
44
- Pytorch: 1.0.1
55
- Python: 3.6
66
- torchtext: 0.3.1.
7-
- Support pretrained word embedding.([word2vec](https://github.com/mmihaltz/word2vec-GoogleNews-vectors))
7+
- Support pretrained word embedding.([word2vec](https://github.com/mmihaltz/word2vec-GoogleNews-vectors),[glove](https://nlp.stanford.edu/projects/glove/))
88

99
## torchtext
1010
- This package can provide an elegant way to build vocabulary([torchtext](https://torchtext.readthedocs.io/en/latest/index.html#)).
@@ -14,12 +14,17 @@ TEXT.build_vocab(dataset, vectors)
1414

1515
## Training
1616

17-
- The following command starts training.
18-
1917
```
20-
python main.py
18+
python preprocess.py #preprocessing
19+
```
20+
```
21+
python main.py #training
2122
```
2223
## Refs
2324
- Kim, Y. J. E. A. (2014). "Convolutional Neural Networks for Sentence Classification."
2425
- [cnn-text-classification-pytorch](https://github.com/Shawn1993/cnn-text-classification-pytorch)
2526
- [Understanding LSTM Networks](https://colah.github.io/posts/2015-08-Understanding-LSTMs/)
27+
- [Glove](https://nlp.stanford.edu/projects/glove/)
28+
- [你在训练RNN的时候有哪些特殊的trick?](https://www.zhihu.com/question/57828011)
29+
- [图解CNN](https://blog.csdn.net/v_july_v/article/details/79434745)
30+
- [CNN](https://blog.csdn.net/v_JULY_v/article/details/51812459)

0 commit comments

Comments
 (0)