Hands-On Projects

Build these to solidify each phase

Beginner

๐Ÿ”ข Build a Neural Network from Scratch

Phase 1 โ€” Foundations

Implement a multi-layer perceptron in pure NumPy. Train on MNIST. Understand backprop at the math level.

Beginner

๐Ÿ“Š Sentiment Analysis with BERT

Phase 2 โ€” NLP Core

Fine-tune a BERT model on IMDB reviews. Full pipeline: data loading, tokenization, training, evaluation with HuggingFace.

Intermediate

๐Ÿค– Build GPT from Scratch

Phase 2โ€“3 โ€” Transformers

Implement a GPT model in PyTorch following Karpathy's nanoGPT. Train on Shakespeare or OpenWebText.

Intermediate

๐Ÿ“š RAG Chatbot over Your Docs

Phase 5 โ€” Applications

Build a retrieval-augmented chatbot. Chunk documents, embed with sentence-transformers, store in a vector DB, and query with an LLM.

Advanced

โšก Fine-Tune LLaMA / Mistral with QLoRA

Phase 4 โ€” Fine-Tuning

Fine-tune a 7B+ model on custom instruction data using QLoRA. Evaluate with lm-eval-harness. Serve with vLLM.

Advanced

๐Ÿ› ๏ธ Multi-Tool AI Agent

Phase 5 โ€” Agents

Build an agent that searches the web, writes code, calls APIs, and reasons over results. Implement ReAct or function-calling patterns.

Expert

๐Ÿ—๏ธ Pre-train a Language Model

Phase 3 โ€” Pre-training

Curate data from CommonCrawl/RedPajama, build a BPE tokenizer, train a 100Mโ€“1B param model. Full distributed training pipeline.

Expert

๐Ÿ”ฌ Implement RLHF / DPO Alignment

Phase 4 โ€” Alignment

Collect preference data, implement DPO/RLHF training with TRL, compare alignment quality vs SFT baseline on MT-Bench.

Intermediate

๐Ÿ” LLM-Powered Search Engine

Phase 5 โ€” Applications

Build a semantic search system: embed a corpus with sentence-transformers, index with FAISS/Qdrant, add LLM-powered answer synthesis.

Advanced

๐Ÿ–ผ๏ธ Multimodal Vision-Language App

Phase 6 โ€” Research

Build an app using vision-language models (LLaVA, Qwen-VL). Support image Q&A, OCR, and visual reasoning.

Beginner

๐Ÿ’ฌ CLI Chatbot with Ollama

Phase 2 โ€” Getting Started

Run open-source LLMs locally with Ollama. Build a terminal chatbot with streaming, system prompts, and conversation memory.

Advanced

โš™๏ธ Deploy & Serve an LLM in Production

Phase 5 โ€” Deployment

Quantize a model (GPTQ/AWQ), serve with vLLM behind an API, add monitoring with Prometheus + Grafana. Load-test with Locust.

Beginner

๐Ÿ”ค Build a BPE Tokenizer from Scratch

Phase 1โ€“2 โ€” Foundations

Implement Byte-Pair Encoding in Python. Understand how text becomes tokens โ€” the first step in every LLM pipeline.

Intermediate

๐Ÿ“ Text Summarization Pipeline

Phase 2โ€“3 โ€” NLP + LLMs

Build an extractive + abstractive summarization system. Compare BART, T5, and Pegasus models on CNN/DailyMail.

Intermediate

๐Ÿงช LLM Evaluation Benchmark Suite

Phase 3โ€“4 โ€” Evaluation

Set up lm-evaluation-harness. Benchmark models on MMLU, HellaSwag, TruthfulQA. Compare base vs fine-tuned models.

Advanced

๐Ÿงฌ Knowledge Distillation: Teacher โ†’ Student

Phase 4 โ€” Optimization

Distill a large model into a smaller one. Implement logit matching and feature alignment. Measure quality vs speed trade-offs.

Intermediate

๐Ÿ”„ Prompt Engineering Playground

Phase 2โ€“5 โ€” Prompting

Build a web UI to test prompt techniques: zero-shot, few-shot, CoT, ReAct, self-consistency. Side-by-side model comparisons.