nlp-tutorial
is a tutorial for who is studying NLP(Natural Language Processing) using TensorFlow and Pytorch.
- Most of the models in NLP were implemented with less than 100 lines of code.(except comments or blank lines)
- You can also learn Tensorflow or Pytorch.
- 1-1. NNLM(Neural Network Language Model) - Predict Next Word
- 1-2. Word2Vec(Skip-gram) - Embedding Words and Show Graph
- 1-3. FastText(Application Level) - Sentence Classification
- Site : http://fasttext.cc
- Paper : Bag of Tricks for Efficient Text Classification(2016)
- Usage : Google Colab
- 2-1. TextCNN - Binary Sentiment Classification
- 2-2. DCNN(Dynamic Convolutional Neural Network)
- 3-1. TextRNN - Predict Next Step
- Paper - Finding Structure in Time(1990)
- 3-2. TextLSTM - Autocomplete
- Paper - LONG SHORT-TERM MEMORY(1997)
- 3-3. Bi-LSTM - Predict Long Next Step Word
- 4-1. Sequence2Sequence - Change Word
- 4-2. Seq2Seq with Attention - Translate
- 4-3. Bi-LSTM with Attention - Binary Sentiment Classification
- 4-4. The Transformer - Translate
- Paper - Attention Is All You Need(2017)
- 6-1. BERT
- Tae Hwan Jung(Jeff Jung) @graykode
- Email : [email protected]