PPrepLearn
Progress Β· 0/6 phases

🧠 🧠 90-Day AI / LLM Engineering Roadmap β€” Beginner to Advanced

5 min read Β· Notion

From Python/math foundations to building and deploying production LLM systems. A structured, daily-practice roadmap covering classical ML, deep learning, transformers, and modern LLM/GenAI engineering β€” with code, projects, and the exact concepts interviewers and real systems expect.


How to use this template

  • Work phases in order β€” each layer rests on the one below it. You cannot skip to LLMs without understanding what a gradient is.
  • Every day: read the concept, implement it from scratch at least once (not just call a library), then use the library version
  • Use the Daily Tracker to log what you built, one key insight, and your confidence
  • Every phase ends with a capstone project β€” a working, shippable artifact, not a notebook that only you understand

The rule: if you can use model.fit() but can't explain what's happening inside it, you don't understand the model β€” you understand the API. This roadmap forces the former.


Roadmap at a glance

PhaseDaysFocusCapstone
Phase 1 β€” Python & Math Foundations1–15NumPy, Pandas, Linear Algebra, Calculus, ProbabilityLinear regression from scratch (no sklearn)
Phase 2 β€” Classical Machine Learning16–35Regression, Classification, Trees, Ensembles, ClusteringEnd-to-end Kaggle-style ML pipeline
Phase 3 β€” Deep Learning Foundations36–55Neural Nets, Backprop, PyTorch, CNNs, RNNsImage classifier + char-level language model
Phase 4 β€” NLP & Transformers56–70Tokenization, Embeddings, Attention, Transformer architectureTransformer built from scratch + fine-tuned BERT
Phase 5 β€” LLMs & Applied GenAI Engineering71–90Prompting, RAG, Vector DBs, Fine-tuning (LoRA), Agents, Evals, DeploymentProduction RAG application with evals

The core mental model

Math (linear algebra, calculus, probability)
        ↓ gives you
Classical ML (a function that maps X -> y, fit by optimization)
        ↓ generalizes to
Deep Learning (the function is a neural network, fit by gradient descent + backprop)
        ↓ specializes to
Transformers (a specific neural architecture using attention, great at sequences)
        ↓ scales to
LLMs (transformers trained on internet-scale text, billions of parameters)
        ↓ is wrapped by
LLM Engineering (prompting, RAG, agents, fine-tuning -- making LLMs useful in production)

Every layer is the previous layer plus one new idea. Skipping a layer means the next one feels like magic instead of mechanism.


My progress

  • Current phase: Phase 1
  • Current day: Day 1 of 90
  • Projects shipped: 0 / 5
  • Papers read: 0
  • Models trained from scratch: 0

  • Phase 1 β€” Python & Math Foundations (Days 1–15)
  • Phase 2 β€” Classical Machine Learning (Days 16–35)
  • Phase 3 β€” Deep Learning Foundations (Days 36–55)
  • Phase 4 β€” NLP & Transformers (Days 56–70)
  • Phase 5 β€” LLMs & Applied GenAI Engineering (Days 71–90)
  • All 90 Days Reference

Core tech stack

LayerTools
Numerical computingNumPy, Pandas
Classical MLscikit-learn
VisualizationMatplotlib, Seaborn
Deep learningPyTorch
Transformers / NLPHugging Face Transformers, tokenizers, datasets
LLM orchestrationLangChain or LlamaIndex
Vector databasesFAISS, Chroma, Pinecone
Fine-tuningPEFT (LoRA/QLoRA), bitsandbytes
Experiment trackingWeights & Biases (wandb)
LLM APIsOpenAI API, Anthropic API, local models via Ollama
EvaluationRagas, custom eval harnesses
DeploymentFastAPI, Docker, Streamlit/Gradio for demos

Essential reading list (by phase)

ResourceUse for
Mathematics for Machine Learning (Deisenroth, Faisal, Ong)Phase 1 math foundation β€” free PDF
Hands-On Machine Learning β€” AurΓ©lien GΓ©ronPhase 2 classical ML, very practical
StatQuest (YouTube)Phase 1–2 intuition for every algorithm
Neural Networks: Zero to Hero β€” Andrej Karpathy (YouTube)Phase 3 backprop and language models from scratch
Dive into Deep Learning (d2l.ai)Phase 3 deep learning, code-first
"Attention Is All You Need" (2017)Phase 4 the original Transformer paper
"BERT" paper (2018)Phase 4 encoder-only transformers
"Language Models are Few-Shot Learners" (GPT-3 paper, 2020)Phase 5 scaling and in-context learning
"LoRA: Low-Rank Adaptation" paperPhase 5 efficient fine-tuning
Hugging Face NLP Course (free)Phase 4–5, hands-on transformers
Anthropic's Prompt Engineering docsPhase 5 prompting best practices

Final prep checklist

  • Implement linear regression and logistic regression from scratch (gradient descent, no sklearn)
  • Explain bias-variance tradeoff and overfitting with a concrete example
  • Implement backpropagation by hand for a 2-layer neural network
  • Explain what a gradient, loss function, and optimizer actually do
  • Build a CNN and an RNN from scratch in PyTorch
  • Explain self-attention and multi-head attention mathematically
  • Implement a transformer block from scratch (no nn.TransformerEncoder)
  • Fine-tune a pretrained model (BERT or similar) on a custom dataset
  • Explain the difference between pretraining, fine-tuning, RLHF, and prompting
  • Build a RAG pipeline with a vector database and evaluate its retrieval quality
  • Fine-tune an LLM with LoRA/QLoRA on consumer hardware
  • Explain temperature, top-k, top-p sampling, and why they matter
  • Build an agent that uses tools (function calling)
  • Design an evaluation harness for an LLM application (not just vibes)
  • Deploy an LLM application behind an API with proper error handling and rate limiting

πŸ“… AI/LLM Daily Tracker

Related