Skip to content

Commit f7935f4

Browse files
Updated README File
1 parent 48b2d8b commit f7935f4

File tree

1 file changed

+31
-1
lines changed

1 file changed

+31
-1
lines changed

README.md

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,32 @@
11
# Text-Classification-Pytorch
2-
Text classification using deep learning models in Pytorch
2+
## Description
3+
This repository contains the implmentation of various text classification models like RNN, LSTM, Attention, CNN, etc in PyTorch deep learning framework along with a detailed documentation of each of the model.
4+
5+
Text Classification is one of the basic and most important task of Natural Language Processing. In this repository, I am focussing on one such text classification task and that is Sentiment Analysis. So far I have covered following six different models in this repo.
6+
7+
* RNN
8+
* LSTM
9+
* LSTM + Attention
10+
* Self Attention
11+
* CNN
12+
* RCNN
13+
14+
## Requirements
15+
* Python==3.6.6
16+
* PyTorch==0.4.0
17+
* torchtext==0.2.3
18+
19+
## Downloads and Setup
20+
Once you clone this repo, run the main.py file to process the dataset and to train the model.
21+
```shell
22+
$ main.py
23+
```
24+
25+
## References
26+
A Structured Self-Attentive Sentence Embedding : [Paper][1]
27+
Convolutional Neural Networks for Sentence Classification : [Paper][2]
28+
Recurrent Convolutional Neural Networks for Text Classification : [Paper][3]
29+
30+
[1]:https://arxiv.org/pdf/1703.03130.pdf
31+
[2]:https://arxiv.org/pdf/1408.5882.pdf
32+
[3]:https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0ahUKEwiRxa37_PbbAhWOfSsKHW9bAtIQFggrMAA&url=https%3A%2F%2Fwww.aaai.org%2Focs%2Findex.php%2FAAAI%2FAAAI15%2Fpaper%2Fdownload%2F9745%2F9552&usg=AOvVaw37k05lV8569fo_aCghlO9i

0 commit comments

Comments
 (0)