← All roadmaps
AI/ML · Very High demand
Natural Language Processing roadmap
NLP is how machines read, understand, and generate human language — it powers search, chatbots, translation, and document analysis. It builds on Python and basic machine learning, and it is the foundation under modern LLM applications. This roadmap takes you from classical text methods to transformers and production NLP systems.
beginner
Text Basics and Classical NLP
About 5 weeks
Topics
- Cleaning text with regex, lowercasing, and tokenization
- Stopwords, stemming, and lemmatization — and when each hurts
- Bag of Words and TF-IDF representations
- N-grams and simple language model intuition
- Sentiment analysis with scikit-learn classifiers
- Named entity recognition basics
- Building a text classification pipeline end to end
- Evaluating with precision, recall, and F1
Free resources
Hugging Face NLP Course
course
Hugging Face · Free course from text basics to transformers, with code.
Kaggle Learn
practice
Kaggle Learn · Free micro-courses with exercises; search the catalog for NLP.
spaCy Usage Documentation
docs
spaCy · Best practical reference for tokenization, NER, and pipelines.
Natural Language Toolkit Documentation
docs
NLTK · Classic library for teaching tokenization and tagging.
scikit-learn User Guide
docs
scikit-learn · TF-IDF, classifiers, and evaluation metrics done properly.
Hands-on practice
- Build a movie-review sentiment classifier with TF-IDF and report precision, recall, and F1
- Write an NER extractor that pulls people, organizations, and dates from news articles
- Build a spam-vs-ham classifier and show its 10 most confused examples
- Write a script that cleans and tokenizes a 10,000-document corpus into a reusable dataset
Milestone checkpoint: You can build a working text classifier from raw text: the sentiment model trains, its F1 is reported honestly, and you can explain TF-IDF, tokenization choices, and where the model fails.
intermediate
Transformers and Fine-Tuning
About 6 weeks
Topics
- Attention intuition: why transformers replaced RNNs for text
- BERT-style encoders and what pretraining actually teaches
- Hugging Face Transformers pipelines for real tasks
- Tokenizers: WordPiece and BPE, and truncation trade-offs
- Fine-tuning for classification, NER, and question answering
- Sequence classification vs token classification
- Handling long documents with chunking and sliding windows
- Error analysis: reading confusion cases instead of just accuracy
Free resources
Transformers Documentation
docs
Hugging Face · Official docs for pipelines, models, and Trainer.
Hugging Face NLP Course
course
Hugging Face · Fine-tuning chapters with runnable notebooks.
Practical Deep Learning for Coders
course
fast.ai · Top-down deep learning course, free with video lessons.
The Illustrated BERT
article
Jay Alammar · Clearest visual explanation of BERT internals.
3Blue1Brown
video
3Blue1Brown · Visual intuition for attention and neural networks.
Hands-on practice
- Fine-tune a transformer for sentiment classification and beat your TF-IDF baseline measurably
- Fine-tune a token-classification model for NER on a small labeled set
- Build a question-answering demo over your own documents with chunking
- Write an error-analysis report: 20 failures grouped by cause, with one fix applied
Milestone checkpoint: You can fine-tune a transformer for a real task: the model beats the classical baseline, you can explain tokenization and truncation choices, and your error analysis names the top failure causes.
advanced
Production NLP and LLM-Era NLP
About 7 weeks
Topics
- Multilingual NLP and practical issues with Indic languages
- Embeddings and semantic search over large document sets
- Retrieval-augmented generation over private documents
- LLM-based extraction and structuring of messy text
- Evaluating retrieval and generation: faithfulness checks
- Distillation and quantization for cheaper serving
- Monitoring drift and collecting user feedback loops
- Shipping a document Q&A product end to end
Free resources
CS224N: NLP with Deep Learning
course
Stanford · Graduate-level course; lectures free online.
Speech and Language Processing (3rd edition draft)
book
Jurafsky and Martin · Authoritative textbook, draft freely available online.
Pinecone Documentation
docs
Pinecone · Vector database concepts: indexes, metadata filtering, hybrid search.
Qdrant Documentation
docs
Qdrant · Open-source vector search you can self-host.
OpenAI Cookbook
docs
OpenAI · Worked examples for embeddings, RAG, and structured outputs.
Hands-on practice
- Build a semantic search engine over 5,000+ documents with a vector database
- Ship a RAG document Q&A app with cited answers and a faithfulness check
- Quantize a fine-tuned model and measure the size, speed, and accuracy trade-off
- Add logging and a feedback loop to your Q&A app, then fix its worst failure class
Milestone checkpoint: You can ship a document Q&A product: retrieval works over thousands of documents, answers carry citations, you measured the serving trade-offs, and you can explain how you evaluate faithfulness.
Track your progress
Sign in to mark stages complete and watch your roadmap fill up on your dashboard.
Sign in