← all repositories

graykode/nlp-tutorial

A collection of Jupyter Notebook tutorials implementing NLP models (NNLM, Word2Vec, Transformer, BERT) in under 100 lines of PyTorch code.

14.9k stars Jupyter Notebook LearningLanguage ModelsML Frameworks
nlp-tutorial
Velocity · 7d
+5.5
★ / day
Trend
steady
star history

This repository provides hands-on tutorials for learning Natural Language Processing through deep learning. It covers foundational embedding models (NNLM, Word2Vec, FastText), convolutional networks (TextCNN), sequence models (RNN, LSTM, Seq2Seq), attention mechanisms, and transformer architectures including BERT. Each model is implemented in PyTorch within approximately 100 lines of code for beginner readability, with links to original papers and Google Colab notebooks.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.