Skip to main content
Hands-On AI & LLM Engineering Platform14 Primary Milestones · Phases 0–8

Learn by Building. Master AI from the Inside.

Every major phase of the AI Roadmap ends with a real engineering project. Build mathematical engines, neural networks, tokenizers, attention mechanisms, and your own GPT-style language model from scratch.

Continue My Project#1
Primary Projects

14

0 completed · 0 active

Learning Phases

9

Phase 0 through Phase 8

Engineering Tasks

191

0 steps checked (0%)

Linked GitHub Repos

0

Self-reported builds

Recommended Next Build
Milestone #1 · Phase 0

Matrix Operations Engine

Build a small linear algebra library using pure Python implementing vectors, matrices, dimension validation, dot products, transposes, and matrix multiplication, verified numerically against NumPy.

Why Recommended Now: Aligned with your current curriculum focus in Phase 0: Programming Foundations.
Beginner8–12 hours · 1–2 weeks12 implementation stepsPythonNumPypytest
Task Checklist Progress0 / 12 steps (0%)
Status: Not Started
Start Project Guide

8-Step Hands-On Engineering Workflow

Every project follows a structured from-scratch implementation methodology

1

Understand Concept

Review the architectural goal and mathematical formulation.

2

Review Prerequisites

Verify linked roadmap modules and required math concepts.

3

Set Up Environment

Create a clean Python/PyTorch project structure and test runner.

4

Implement Step by Step

Follow each staged engineering task from core primitives upward.

5

Test Implementation

Run numerical gradient checks, shape assertions, and unit tests.

6

Document & Push to GitHub

Publish clean code, plots, and a README to your repository.

7

Mark Tasks Complete

Check off each verified implementation task as it passes tests.

8

Complete Milestone

Confirm project completion and unlock your curriculum milestone.

Complete Curriculum CatalogShowing 14 of 14 projects

14 From-Scratch AI & LLM Projects

Phase:
#01Phase 0BeginnerRecommended

Matrix Operations Engine

Build a small linear algebra library using pure Python implementing vectors, matrices, dimension validation, dot products, transposes, and matrix multiplication, verified numerically against NumPy.

8–12 hours · 1–2 weeks12 implementation steps
PythonNumPypytest
#02Phase 1Beginner

Linear Regression From Scratch

Train a regression model without using a predefined machine-learning estimator—implementing linear predictions, Mean Squared Error loss, manual analytical gradients, gradient descent optimization, loss curve visualization, and held-out evaluation.

10–14 hours · 1–2 weeks12 implementation steps
PythonNumPyMatplotlib
#03Phase 2Intermediate

Spam Classifier

Create a supervised classifier that identifies spam messages—implementing text cleaning, Bag-of-Words / TF-IDF feature extraction, Multinomial Naive Bayes or Logistic Regression from scratch, and full classification error analysis.

12–16 hours · 1–2 weeks11 implementation steps
PythonNumPyscikit-learn
#04Phase 3Intermediate

Automatic Differentiation Engine

Build a micrograd-style scalar automatic differentiation engine in pure Python that dynamically records computational graphs, performs topological sorting, backpropagates exact gradients via the chain rule, and trains a multilayer perceptron.

14–18 hours · 2 weeks15 implementation steps
PythonComputational Graphs
#05Phase 3Advanced

Neural Network From Scratch

Implement and train a multilayer neural network in pure NumPy without high-level deep-learning frameworks—including dense layers, activation functions, forward caching, explicit matrix backpropagation, weight initialization, and mini-batch gradient descent.

16–22 hours · 2 weeks14 implementation steps
PythonNumPyPyTorch
#06Phase 3Intermediate

Image Classifier

Train a handwritten digit recognizer or image classification model in PyTorch—implementing dataset normalization, DataLoaders, network architecture, training/validation loops, confusion matrix diagnostics, failure inspection, and checkpoint save/load inference.

10–14 hours · 1–2 weeks12 implementation steps
PyTorchNumPyMatplotlib
#07Phase 4Intermediate

Character Language Model

Train a character-level language model capable of generating short text—building a character vocabulary, context-target sliding windows, a bigram baseline, a neural language model, perplexity tracking, and temperature/top-k sampling.

12–16 hours · 1–2 weeks12 implementation steps
PythonNumPyPyTorch
#08Phase 4Advanced

BPE Tokenizer

Implement Byte Pair Encoding (BPE) tokenization from scratch in Python—starting from raw UTF-8 bytes, iteratively merging the most frequent adjacent token pairs, building a deterministic merge vocabulary, handling special tokens, and verifying 100% lossless encode/decode round trips.

14–18 hours · 1–2 weeks14 implementation steps
PythonUnicode / UTF-8
#09Phase 5Advanced

Self-Attention Engine

Implement causal self-attention and multi-head attention from scratch in PyTorch—including Q, K, V projections, √d_k variance scaling, upper-triangular causal masking, attention softmax probabilities, head splitting/concatenation, and causality unit tests.

12–16 hours · 1–2 weeks13 implementation steps
PyTorchNumPy
#10Phase 5Advanced

Mini GPT Architecture

Build a complete decoder-only Transformer (Mini GPT) from scratch in PyTorch—including token and positional embeddings, Pre-Norm residual Transformer blocks, causal multi-head attention, MLP feed-forward networks, language modeling head, training loop, checkpointing, and autoregressive generation.

18–24 hours · 2 weeks15 implementation steps
PyTorch
#11Phase 6Advanced

Pretrained Mini LLM

Train and evaluate a small GPT-style language model from randomly initialized weights using your own dataset pipeline, custom BPE tokenizer, AdamW + cosine decay pretraining loop, and evaluation harness.

25–40 hours19 implementation steps
PythonPyTorchNumPy (memmap)Custom BPE Tokenizer+2
#12Phase 7Advanced

Instruction-Tuned Assistant

Convert a base pretrained language model into an instruction-following conversational assistant using custom ChatML templates, prompt-masked Supervised Fine-Tuning (SFT), Low-Rank Adaptation (LoRA), and Direct Preference Optimization (DPO).

18–26 hours12 implementation steps
PythonPyTorchChatML TemplatesSupervised Fine-Tuning (SFT)+2
#13Phase 8Advanced

LLM Inference Server

Build a production-grade LLM inference engine and streaming HTTP/SSE server featuring prefill/decode KV-cache management, INT8/INT4 weight quantization, speculative decoding, security guardrails, and TTFT/TPOT benchmarking.

22–32 hours15 implementation steps
PythonPyTorchFastAPI / Uvicorn (SSE Streaming)KV-Cache Engine+2
#14Phase 8Research

Research Reproduction

Deconstruct a foundational AI/LLM research paper, formulate a falsifiable hypothesis, run a parameter- and FLOP-matched experimental study across multiple random seeds, and author a publication-grade technical report.

25–40 hours15 implementation steps
PythonPyTorchControlled Experimental DesignMulti-Seed Statistical Analysis+2
Integrated CurriculumSynced with Roadmap, Courses & Learning Dashboard

Every project connects directly to your roadmap modules and dashboard milestones

As you check off implementation tasks or link your GitHub repositories, your progress updates automatically across your 9-phase roadmap and learning analytics dashboard.