
Cracking NLP
Master natural language processing from tokenization to large language models. Build the skills for NLP-focused ML interviews.
Unlock the full study plan
Upgrade to Pro to access the full curriculum.
What you will learn
This plan covers natural language processing from tokenization to Transformer-based models, the topics asked about in NLP-focused ML interviews. It has 35 problems in five sections: text preprocessing, embeddings, sequence models, Transformers for NLP and advanced topics such as evaluation metrics and tokenizer training.
Prerequisites
Python, and some familiarity with neural networks. Cracking Deep Learning covers the model building blocks used here.
The sections, in order
- Text preprocessing: tokenization, normalization, regular expressions, padding, stemming and lemmatization, sentence splitting, edit distance and subword vocabularies.
- Embeddings and representations: bag of words, TF-IDF, n-gram language models, Word2Vec, GloVe, FastText and sentence embeddings.
- Sequence models: named entity recognition, part-of-speech tagging, text classification, language modeling and spell correction.
- Transformers for NLP: masked language modeling, next sentence prediction, token classification, span extraction, beam search and sampling.
- Advanced NLP: perplexity, MinHash deduplication, BLEU and ROUGE, tokenizer training, document ranking and byte-pair encoding.
Where to go next
See how these ideas are used in large language models in Language Modeling from Scratch, or build a retrieval system in RAG from Scratch.