← 开源
afshinea

stanford-cme-295-transformers-large-language-models

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

TutorialsML/AI fundamentals
在 GitHub 打开
增长势头
+724 小时新增 Star+0.1%
4.85k
Star
702
Fork
+83
本周
4
贡献者
创建于 2025-03-23 · 更新于 2026-10-07 · 今日第 1359 名
主要开发者
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

Illustration

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)