← Open Source

VIP cheatsheet for Stanford's CME 295 Transformers and Large Language Models.

TutorialsML/AI fundamentals
Momentum
+4stars in 24 hours+0.1%
5.21k
Stars
752
Forks
+25
This week
4
Contributors
Created 2025-03-23 · Updated 2026-12-05 · #2162 today
Top developers
afshineashervineaayyucekizrak
README

Transformers & LLMs cheatsheet for Stanford's CME 295

Available in العربية - Čeština - English - Español - فارسی - Français - Italiano - 日本語 - 한국어 - Português - Русский - Српски - ไทย - Türkçe - 中文

Goal

This repository aims at summing up in the same place all the important concepts that are covered in Stanford's CME 295 Transformers & Large Language Models course. It includes:

  • Transformers: self-attention, architecture, variants
  • LLMs: prompting, finetuning (SFT, LoRA), preference tuning (RLHF, DPO), reasoning (RLVR, OPD)
  • Optimizations: Distributed training, KV caching, speculative decoding
  • Applications: AI agents, evaluation, extensions (e.g. diffusion LLMs)

Content

VIP Cheatsheet

Class textbook

This VIP cheatsheet gives an overview of what is in the "Super Study Guide: Transformers & Large Language Models" book, which contains ~600 illustrations over 250 pages and goes into the following concepts in depth. You can find more details at https://superstudy.guide.

Class website

cme295.stanford.edu

Authors

Afshine Amidi (Ecole Centrale Paris, MIT) and Shervine Amidi (Ecole Centrale Paris, Stanford University)

Nearby in the ranking
Similar items

AI Rank for iPhone

Follow AI model rankings

Download on the App Store