Build SLM from Scratch Workshop Archive thumbnail 1
Build SLM from Scratch Workshop Archive

Build SLM from Scratch Workshop Archive

A comprehensive four-day workshop archive focused on the end-to-end development of Small Language Models (SLMs), covering data preparation, architecture design, pre-training, and production-level replication.

View course on Vizuara
Duration4 Days
LevelAdvanced
FormatVideo & Interactive Labs
AudienceLearners
Course Description

This workshop archive provides a deep dive into the mechanics of building Small Language Models (SLMs) from the ground up. Participants will explore the full lifecycle of model development, from initial dataset preparation and tokenization to architectural assembly, pre-training, and fine-tuning for specialized domains.

The curriculum includes practical, hands-on sessions using Google Colab and RunPod, alongside detailed lecture recordings that break down complex concepts like GPT-2 replication and BioGPT implementation.

Learning Outcomes

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

Prerequisites
Course Sessions
Session 1
01

Foundation & Data Preparation

Introduction to the SLM lifecycle, focusing on dataset preparation, tokenization strategies, and defining input-output pairs.

Includes lecture recordings and interactive Colab notebooks.

Topics Covered

  • Dataset preparation
  • Tokenization techniques
  • Input-Output pair generation

Materials

Day 1 Video RecordingDay 1 Lecture NotesGoogle Colab: Day 1
Session 2
02

SLM Architecture Design

Deep dive into the structural components of Small Language Models and the assembly of the core architecture.

Practical session on building the model backbone.

Topics Covered

  • Architecture assembly
  • Model configuration
  • Structural components of SLMs

Materials

Day 2 Video RecordingDay 2 Lecture NotesGoogle Colab: Day 2
Session 3
03

Pre-training and Inference

Exploration of the pre-training phase and the mechanics of model inference.

Hands-on implementation of training loops.

Topics Covered

  • Pre-training pipelines
  • Inference execution
  • Training loop optimization

Materials

Day 3 Video RecordingDay 3 Lecture NotesGoogle Colab: Day 3
Session 4
04

Production-Level Projects & Replication

Advanced application of SLMs, including replicating GPT-2, BioGPT, and domain-specific fine-tuning.

Covers production workflows and industry benchmarks.

Topics Covered

  • GPT-2 and BioGPT replication
  • Biomedical domain fine-tuning
  • Production deployment considerations

Materials

Day 4 Video RecordingDay 4 Lecture NotesBiomedical SLM ColabGPT-2 Replica RunPod FilesIndustry Benchmarks & Datasets
Assessments

Hands-on Lab Completion

Successfully execute the provided Google Colab notebooks for each day to verify understanding of the training pipeline.

Model Replication Project

Complete the GPT-2 or BioGPT replication exercise using the provided RunPod configuration and datasets.