Thomas Piacentini
← Workshop

Book

3. Language

Original text · English

NLP Foundations and the Transformer

  1. Text Processing: Tokenization, Stemming, Lemmatization
  2. Bag of Words, TF-IDF & Text Representation
  3. Word Embeddings: Word2Vec from Scratch
  4. GloVe, FastText & Subword Embeddings
  5. Sentiment Analysis
  6. Named Entity Recognition (NER)
  7. POS Tagging & Syntactic Parsing
  8. Text Classification — CNNs & RNNs for Text
  9. Sequence-to-Sequence Models
  10. Attention Mechanism — The Breakthrough
  11. Machine Translation
  12. Text Summarization
  13. Question Answering Systems
  14. Information Retrieval & Search
  15. Topic Modeling: LDA, BERTopic
  16. Text Generation
  17. Chatbots: Rule-Based to Neural
  18. Multilingual NLP
  19. Subword Tokenization: BPE, WordPiece, Unigram, SentencePiece
  20. Structured Outputs & Constrained Decoding
  21. NLI & Textual Entailment
  22. Embedding Models Deep Dive
  23. Chunking Strategies for RAG
  24. Coreference Resolution
  25. Entity Linking & Disambiguation
  26. Relation Extraction & Knowledge Graph Construction
  27. LLM Evaluation: RAGAS, DeepEval, G-Eval
  28. Long-Context Evaluation: NIAH, RULER, LongBench, MRCR
  29. Dialogue State Tracking
  30. Why Transformers: The Problems with RNNs
  31. Self-Attention from Scratch
  32. Multi-Head Attention
  33. Positional Encoding: Sinusoidal, RoPE, ALiBi
  34. The Full Transformer: Encoder + Decoder
  35. BERT — Masked Language Modeling
  36. GPT — Causal Language Modeling
  37. T5, BART — Encoder-Decoder Models
  38. Vision Transformers (ViT)
  39. Audio Transformers — Whisper Architecture
  40. Mixture of Experts (MoE)
  41. KV Cache, Flash Attention & Inference Optimization
  42. Scaling Laws
  43. Build a Transformer from Scratch
  44. Attention Variants — Sliding Window, Sparse, Differential
  45. Speculative Decoding — Draft, Verify, Repeat
Code and artifacts 1
What you take away

Saved in your notebook on this device.

Sources and limits

Reading checkpoints are self-reported. Test results are recorded separately and apply to the executed cases.

AI Engineering from Scratch · 3f9715c · MIT

Download this file ↓