Awesome Open Source
Awesome Open Source


nlp-tutorial is a tutorial for who is studying NLP(Natural Language Processing) using Pytorch. Most of the models in NLP were implemented with less than 100 lines of code.(except comments or blank lines)

  • [08-14-2020] Old TensorFlow v1 code is archived in the archive folder. For beginner readability, only pytorch version 1.0 or higher is supported.

Curriculum - (Example Purpose)

1. Basic Embedding Model

2. CNN(Convolutional Neural Network)

3. RNN(Recurrent Neural Network)

4. Attention Mechanism

5. Model based on Transformer


  • Python 3.5+
  • Pytorch 1.0.0+


  • Tae Hwan Jung(Jeff Jung) @graykode
  • Author Email : [email protected]
  • Acknowledgements to mojitok as NLP Research Internship.

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Jupyter Notebook (234,752
Tensorflow (12,659
Pytorch (10,999
Nlp (8,036
Tutorial (7,084
Natural Language Processing (4,583
Paper (1,675
Transformer (1,493
Bert (1,099
Attention (478
Related Projects