Skip to main content
New Self-paced AI courses — learn ML, deep learning, and agents on your schedule. Enroll free

AI with NLP

Natural Language Processing (NLP)

No prerequisites. A full path through the field: what language is, cleaning, strings, tokenization, linguistics, lexical meaning, counts, classical models, classification, tagging, parsing, discourse, information extraction, embeddings, search, neural models, RNNs, attention, transformers, pretraining, large language models, question answering, summarization, translation, dialogue, speech and documents, multilingual work, retrieval-augmented generation, adaptation, metrics, annotation, and the responsibilities that come with shipping a system. Same hand-drawn diagrams, colours, and code cards as Python and FastAPI.

Beginner 100 hours · Self-paced Free (Python path) · 209 lessons · ~5219 min read

33 topics 209 lessons Start anywhere
Grounded in sources, not a frozen script Ideas in this path map to readings and the Research Lab. See how we refresh lessons as the field moves.

What you’ll get out of this course

  • Build practical skill in “Natural Language Processing (NLP)” with text-first lessons and clear checkpoints.
  • Level: Beginner—follow the syllabus in order or jump to the modules you need.
  • Reinforce ideas with end-of-topic checks and (where available) hands-on coding tasks.

Trust & quality

Content is designed and maintained by the Deep AI Minds team—structured for working adults, with frequent updates as tooling and best practices evolve.

Content currency: ~100% of lessons on the current curriculum revision

Syllabus

We structured this course to build your skills step by step

Scroll through each module below—open lessons in place or jump into a topic. Everything runs in order, but you’re free to explore.

Topic 1
Learning module

Module 1 · What language is and why NLP exists

What a language really is, why computers find it hard, the pipeline every NLP system shares, a map of tasks, and how to study this course.

1.1 What natural language actually is 16 min
1.2 Why language is hard for computers 18 min
1.3 The NLP pipeline from text to a decision 18 min
1.4 A map of NLP tasks 16 min
1.5 How to study this course 14 min
1.6 Kinds of ambiguity 30 min
1.7 Compositionality 30 min
1.8 A short history of NLP 30 min
Topic 2
Learning module

Module 2 · Cleaning and normalising text

Unicode, case, punctuation, stop words, stemming versus lemmatisation, spelling, and a cleaning pipeline whose losses you can name.

2.1 Characters, Unicode and encodings 17 min
2.2 Case, punctuation and noise 16 min
2.3 Stop words, stemming and lemmatisation 16 min
2.4 Spelling, numbers and normalisation 16 min
2.5 A cleaning pipeline you can run 15 min
Topic 3
Learning module

Module 3 · String algorithms for text

Edit distance, alignment, regular expressions, finite-state machines, typo neighbours, and language identification.

3.1 Edit distance 30 min
3.2 Alignment and subsequences 30 min
3.3 Regular expressions 30 min
3.4 Finite-state machines 30 min
3.5 Typo neighbours 30 min
3.6 Language identification 30 min
Topic 4
Learning module

Module 4 · Tokenization and text representation

Words, characters and subwords; the out-of-vocabulary problem; byte-pair encoding by hand; WordPiece, Unigram and SentencePiece.

4.1 Tokenization basics 16 min
4.2 From characters to subwords 17 min
4.3 The out-of-vocabulary problem 16 min
4.4 Byte-pair encoding by hand 18 min
4.5 WordPiece, Unigram and SentencePiece 18 min
Topic 5
Learning module

Module 5 · Linguistics for engineers

Morphology, parts of speech, phrase structure and dependency trees, word meaning, and discourse — only the linguistics an NLP system actually bumps into.

5.1 Words, morphemes, and morphology 17 min
5.2 Parts of speech 16 min
5.3 Phrases and syntax trees 18 min
5.4 Meaning, senses, and semantics 17 min
5.5 Discourse, pragmatics, and context 17 min
Topic 6
Learning module

Module 6 · Lexical semantics and word sense

Senses, WordNet-style relations, selectional preference, disambiguation, and why a neighbour in vector space is not a definition.

6.1 Words have senses 30 min
6.2 Relations between senses 30 min
6.3 Selectional preference 30 min
6.4 Word sense disambiguation 30 min
6.5 One sense per discourse 30 min
6.6 Neighbours are not definitions 30 min
Topic 7
Learning module

Module 7 · Counting words and classical vectors

Bag of words, n-grams, TF-IDF, cosine search, and the places where counts break: negation, word order, synonyms, and words with two meanings.

7.1 Bag of words and n-grams 16 min
7.2 TF-IDF by hand 18 min
7.3 Cosine similarity and search 17 min
7.4 Sparse vectors in code 16 min
7.5 Where counting breaks 17 min
Topic 8
Learning module

Module 8 · Classical language models

Probability of a sentence, n-gram models, smoothing, perplexity, and generation from counts.

8.1 The probability of a sentence 17 min
8.2 N-gram language models 17 min
8.3 Smoothing and unknown words 18 min
8.4 Perplexity 17 min
8.5 Generating text from counts 17 min
Topic 9
Learning module

Module 9 · Text classification

What classification asks, Naive Bayes, logistic regression on text, confusion matrices, and a sentiment pipeline.

9.1 What text classification asks 16 min
9.2 Naive Bayes for text 18 min
9.3 Logistic regression on text 17 min
9.4 Features, errors, and confusion 17 min
9.5 A sentiment pipeline 17 min
Topic 10
Learning module

Module 10 · Sequence labelling

tags on tokens, the BIO scheme, part-of-speech tagging, named entities, chunking, and conditional random fields.

10.1 Token labels and the BIO scheme 16 min
10.2 Part-of-speech tagging 18 min
10.3 Named entity recognition 17 min
10.4 Chunking and spans 16 min
10.5 Conditional random fields 18 min
Topic 11
Learning module

Module 11 · Parsing: constituency and dependency

Phrase structure, dependency arcs, a tiny grammar, chart parsing, projectivity, and attachment scores.

11.1 Constituency and dependency 30 min
11.2 A tiny grammar 30 min
11.3 Chart parsing 30 min
11.4 Heads and dependents 30 min
11.5 Projectivity 30 min
11.6 Attachment scores 30 min
Topic 12
Learning module

Module 12 · Discourse, coreference, and meaning

Who did what, which mentions are the same entity, pronouns, bridging, and why a vector is not a discourse.

12.1 Semantic roles 30 min
12.2 Mentions and coreference 30 min
12.3 Pronouns 30 min
12.4 Bridging 30 min
12.5 Discourse relations 30 min
12.6 A vector is not a discourse 30 min
Topic 14
Learning module

Module 14 · Embeddings and tagging, the building blocks

the distributional hypothesis, static embeddings, GloVe and fastText, contextual vectors, and how a tagger sits on top.

14.1 The distributional hypothesis 16 min
14.2 Static embeddings 18 min
14.3 GloVe and fastText 17 min
14.4 Contextualized representations 16 min
14.5 A sketch of a sequence tagger 17 min
Topic 15
Learning module

Module 15 · Topics, similarity, and information retrieval

Represent document themes, compare texts, and build lexical, dense, reranked, and hybrid search systems.

15.1 Topic modelling overview 30 min
15.2 LSA and SVD intuition 30 min
15.3 Probabilistic LDA by hand 30 min
15.4 Clustering documents 30 min
15.5 Inverted indexes and BM25 30 min
15.6 Dense retrieval and bi-encoders 30 min
15.7 Cross-encoders and reranking 30 min
15.8 Hybrid search and evaluation 30 min
Topic 16
Learning module

Module 16 · Neural networks for text

embedding layers, a neural text classifier, convolutions over tokens, padding and masks, and a training step you can see.

16.1 The embedding layer 16 min
16.2 A neural text classifier 17 min
16.3 Convolutional networks for text 18 min
16.4 Padding, batching and masks 16 min
16.5 Training a text model 17 min
Topic 17
Learning module

Module 17 · Recurrent sequence models

hidden state, the vanilla RNN unrolled, vanishing gradients, LSTM and GRU, and using them to tag or classify.

17.1 Sequences and hidden state 16 min
17.2 The vanilla RNN, step by step 18 min
17.3 Vanishing and exploding gradients 17 min
17.4 LSTM and GRU 18 min
17.5 RNNs for tagging and classification 18 min
Topic 18
Learning module

Module 18 · Sequence-to-sequence and attention

encoder–decoder models, teacher forcing, attention with a worked score, beam search, and translation as a full picture.

18.1 Encoder–decoder models 16 min
18.2 Teacher forcing and exposure bias 17 min
18.3 Attention with a worked example 18 min
18.4 Beam search decoding 17 min
18.5 Machine translation as a whole picture 16 min
Topic 19
Learning module

Module 19 · The Transformer

why self-attention replaced recurrence, self-attention by hand, multi-head attention, positional encoding, and the encoder, decoder, BERT and GPT shapes.

19.1 Why self-attention replaced recurrence 16 min
19.2 Self-attention by hand 18 min
19.3 Multi-head attention 16 min
19.4 Positional encoding and the block 17 min
19.5 Encoder, decoder, BERT and GPT 17 min
Topic 20
Learning module

Module 20 · Pretrained language models

from word2vec to pretraining, masked LM and BERT, causal LM and GPT, fine-tuning heads, and what these models learn and miss.

20.1 From word2vec to pretraining 16 min
20.2 Masked language modeling and BERT 17 min
20.3 Causal language modeling and GPT 16 min
20.4 Fine-tuning heads 17 min
20.5 What these models learn and miss 18 min
Topic 21
Learning module

Module 21 · Large language models from training to generation

Understand how decoder language models are trained, served, prompted, aligned, sampled, and evaluated.

21.1 Scaling and data 30 min
21.2 The next-token objective 30 min
21.3 Decoder-only architecture 30 min
21.4 Sampling, temperature, top-k, and top-p 30 min
21.5 Context windows and KV cache 30 min
21.6 In-context learning and prompting 30 min
21.7 Instruction tuning, RLHF, and DPO overview 30 min
21.8 Limitations and emergent behaviour 30 min
Topic 22
Learning module

Module 22 · Question answering and machine reading

Design extractive, open-domain, generative, calibrated, and multi-hop question-answering systems.

22.1 QA taxonomy 30 min
22.2 Extractive spans 30 min
22.3 Reading comprehension data 30 min
22.4 Open-domain retrieve-then-read 30 min
22.5 Generative QA 30 min
22.6 Calibration and abstention 30 min
22.7 Multi-hop QA 30 min
22.8 Evaluation and error analysis 30 min
Topic 23
Learning module

Module 23 · Summarization and faithfulness

How systems select, generate, control, and evaluate concise accounts without losing support from the source.

23.1 Extractive vs abstractive summarization 30 min
23.2 Sentence scoring 30 min
23.3 Encoder-decoder summarization 30 min
23.4 Length, coverage, and repetition 30 min
23.5 Factual consistency and hallucinations 30 min
23.6 Long-document summarization and chunking 30 min
23.7 Controllable and query-focused summaries 30 min
23.8 ROUGE, BERTScore, and human evaluation 30 min
Topic 24
Learning module

Module 24 · Machine translation systems

Data, models, decoding controls, multilingual transfer, adaptation, and evaluation for translating meaning across languages.

24.1 The MT problem and language typology 30 min
24.2 Parallel corpora and alignment 30 min
24.3 Phrase-based statistical MT 30 min
24.4 Neural encoder-decoder MT 30 min
24.5 Subwords, copying, and names 30 min
24.6 Decoding, beam search, and constraints 30 min
24.7 Multilingual, zero-shot, and domain adaptation 30 min
24.8 BLEU, COMET, and human evaluation 30 min
Topic 25
Learning module

Module 25 · Dialogue and conversational systems

Representing turns, tracking goals, selecting or generating responses, using tools, maintaining grounded memory, and handing off safely.

25.1 Turns, state, and dialogue acts 30 min
25.2 Intent and slot pipelines 30 min
25.3 Dialogue state tracking 30 min
25.4 Response selection 30 min
25.5 Generative dialogue 30 min
25.6 Tool use and function calls 30 min
25.7 Memory and grounding 30 min
25.8 Safety, evaluation, and human handoff 30 min
Topic 26
Learning module

Module 26 · Speech, OCR, and document NLP

Represent audio, recognize and synthesize speech, recover document layout, and evaluate noisy private inputs.

26.1 Speech waveforms and features 30 min
26.2 ASR pipelines and CTC 30 min
26.3 Decoding, language models, and WER 30 min
26.4 Text-to-speech 30 min
26.5 OCR pipelines and layout 30 min
26.6 Document structure, tables, and forms 30 min
26.7 Multimodal document models 30 min
26.8 Noisy channels, evaluation, and privacy 30 min
Topic 27
Learning module

Module 27 · Multilingual and low-resource NLP

Build systems across scripts and languages with careful tokenization, transfer, augmentation, and culturally grounded evaluation.

27.1 Language, script, and Unicode realities 30 min
27.2 Tokenization fertility 30 min
27.3 Cross-lingual embeddings 30 min
27.4 Multilingual pretraining 30 min
27.5 Transfer and zero-shot prediction 30 min
27.6 Code-switching and transliteration 30 min
27.7 Data augmentation and back-translation 30 min
27.8 Culturally grounded evaluation and fairness 30 min
Topic 28
Learning module

Module 28 · Retrieval-augmented generation

Ground generation in retrieved evidence through ingestion, chunking, indexing, reranking, citation, evaluation, and production controls.

28.1 Why retrieval-augmented generation 30 min
28.2 Ingestion and parsing 30 min
28.3 Chunking for retrieval 30 min
28.4 Embeddings and vector indexes 30 min
28.5 Retrieval and reranking 30 min
28.6 Prompt, context assembly, and citations 30 min
28.7 End-to-end RAG evaluation 30 min
28.8 Freshness, security, prompt injection, and production 30 min
Topic 29
Learning module

Module 29 · Adapting, aligning, and serving language models

Turn a pretrained model into a measured, deployable system through tuning, preference learning, compression, and reliable serving.

29.1 Transfer learning and fine-tuning 30 min
29.2 Parameter-efficient tuning and LoRA intuition 30 min
29.3 Prompt tuning and adapters 30 min
29.4 Instruction data and supervised fine-tuning 30 min
29.5 Preference data, RLHF, and DPO 30 min
29.6 Quantization and distillation 30 min
29.7 Serving, batching, caching, and latency 30 min
29.8 Monitoring, drift, safety, and rollback 30 min
Topic 30
Learning module

Module 30 · Tasks and metrics

precision and F1 for classification, span scores, BLEU and ROUGE, translation, and how to choose a metric including humans.

30.1 Precision, recall and F1 18 min
30.2 Span and sequence scores 17 min
30.3 BLEU, ROUGE and their limits 18 min
30.4 Translation, alignment and BLEU 17 min
30.5 Choosing a metric, including humans 16 min
Topic 31
Learning module

Module 31 · Corpora, annotation, and NLP experiments

Design lawful corpora, produce defensible labels, and run leakage-resistant experiments whose conclusions survive replication.

31.1 Corpus design, sampling, and licensing 30 min
31.2 Annotation guidelines 30 min
31.3 Label schemas and taxonomies 30 min
31.4 Annotator training and adjudication 30 min
31.5 Agreement and Cohen's kappa 30 min
31.6 Train, development, and test leakage and splits 30 min
31.7 Experiment tracking, ablations, and significance 30 min
31.8 Data quality, versioning, model cards, and datasheets 30 min
Topic 32
Learning module

Module 32 · Domain-specific NLP and capstone systems

Adapt NLP to high-stakes domains, protect sensitive text, and assemble a documented capstone from task definition through monitoring.

32.1 Biomedical and clinical NLP 30 min
32.2 Legal and financial NLP 30 min
32.3 Social media NLP 30 min
32.4 Scientific literature NLP 30 min
32.5 Grammar correction, style, readability, and controlled generation 30 min
32.6 Authorship, stylometry, and forensic limits 30 min
32.7 PII detection, de-identification, privacy, and memorization 30 min
32.8 Capstone architecture 30 min
Topic 33
Learning module

Module 33 · Applications, practice and responsibility

parsing and information extraction, question answering and summarisation, search and dialogue, annotation and multilingual NLP, bias and a capstone pipeline.

33.1 Parsing and information extraction 16 min
33.2 Question answering and summarisation 17 min
33.3 Search, dialogue and topic models 17 min
33.4 Annotation, errors and multilingual text 16 min
33.5 Bias, safety and a capstone 18 min
Learner stories

What Our Learners Say

Feedback about Natural Language Processing (NLP). New submissions are reviewed before they appear here.

No published stories yet for this course — be the first to share yours below.

Share your experience

Sign in to share a testimonial. We keep one submission per account per course.

Sign in to share your story