Build LLM from Scratch [July 2025 Cohort] thumbnail 1
Build LLM from Scratch [July 2025 Cohort] thumbnail 2
Build LLM from Scratch [July 2025 Cohort]

Build LLM from Scratch [July 2025 Cohort]

A comprehensive, hands-on journey into the architecture, training, and fine-tuning of Large Language Models from the ground up.

View course on Vizuara
FormatLive Cohort
ScheduleSat-Sun 9:30-11am IST
FocusDeep Learning & NLP
AudienceLearners
Course Description

This course provides a deep dive into the mechanics of modern language models. You will move beyond high-level APIs to implement tokenizers, attention mechanisms, and transformer architectures from scratch using Python and Google Colab.

Designed for practitioners, the curriculum balances theoretical rigor with practical implementation, culminating in the creation of your own Small Language Model (SLM) and instruction-tuned systems.

Learning Outcomes

By the end of this course, you will be able to:

Prerequisites
Course Sessions
Orientation
00

Course Logistics & Setup

Essential information regarding the July 2025 cohort, including communication channels, attendance policies, and technical requirements.

Attendance is mandatory for this live cohort.

Topics

  • Course schedule
  • Discord/Zoom access
  • Hardware/Software setup
  • Assignment structure

Resources

Discord ServerZoom LinkGoogle Calendar
Module 1
01

Foundations & Tokenization

Introduction to LLM mechanics, scaling laws, and the critical process of converting text into numerical representations.

Focus on building a tokenizer from scratch.

Topics

  • Next token prediction
  • Pre-training vs Fine-tuning
  • Word-based tokenization
  • Byte Pair Encoding (BPE)

Tools

Google Colab NotebooksThe Verdict Dataset
Module 2
02

Embeddings & Positional Encoding

Understanding how models perceive sequence order and semantic meaning through vector embeddings.

Transitioning from raw tokens to input-target pairs.

Topics

  • Input-Target pairs
  • Token Embeddings
  • Positional Encodings

Tools

Embedding Colab Notebooks
Module 3
03

Attention Mechanisms

Deep dive into the core of the Transformer architecture: the attention mechanism.

Mathematical derivation and implementation of self-attention.

Topics

  • Self-Attention (Q, K, V)
  • Causal Attention
  • Multi-Head Attention

Tools

Attention Colab Notebooks
Module 4
04

Assembling the GPT Architecture

Integrating components into a full transformer model and defining loss functions.

Building the complete architecture.

Topics

  • Layer Normalization
  • Feed Forward Networks
  • GeLU
  • Loss Functions

Tools

GPT Architecture Colab Notebook
Module 5
05

Training & SLM Development

Practical training of models and controlling generation behavior.

Building a production-level Small Language Model.

Topics

  • Full Pre-training
  • Temperature & Top-K sampling
  • Model saving/loading

Tools

SLM Training Notebooks
Module 6
06

Fine-tuning LLMs

Adapting pre-trained models for specific downstream tasks.

Final module on instruction tuning.

Topics

  • Classification Fine-tuning
  • Instruction Fine-tuning
  • Pre-trained weight loading

Tools

Fine-tuning Colab Notebooks
Assessments

In-Lecture Assignments

Collaborative problem-solving in breakout rooms during live sessions.

Take-home Assignments

Weekly coding challenges to reinforce concepts from each module.

Teaching Assignment

Students record a 15-30 minute video explaining a core concept to demonstrate mastery.