Afshine Amidi (@afshinea) header
Afshine Amidi (@afshinea) profile picture

Ecole Centrale Paris, MIT. Twin of @shervinea. New book on Transformers & Large Language Models: https://nitter.cf/t.co/5b89hbceJf

Bay Area
Joined August 2014
Photo by Afshine Amidi (@afshinea)Photo by Afshine Amidi (@afshinea)Photo by Afshine Amidi (@afshinea)Photo by Afshine Amidi (@afshinea)Photo by Afshine Amidi (@afshinea)Photo by Afshine Amidi (@afshinea)Photo by Afshine Amidi (@afshinea)Photo by Afshine Amidi (@afshinea)Photo by Afshine Amidi (@afshinea)Photo by Afshine Amidi (@afshinea)
Our Stanford class "CME 295: Transformers & Large Language Models" is back for a new edition and Lecture 1 is now on YouTube!
3
54
5
500
16,226
We also cover the foundations that make all of this possible, which includes: • Transformers (tokenization, embeddings, attention mechanism, architecture) • LLMs (pretraining, MoEs, decoding, scaling laws) • Systems (distributed training, KV caching, speculative decoding)
1
5
534
All lectures are posted on the "syllabus" page of the course website as they are released: cme295.stanford.edu/syllabus… Happy learning!
2
9
575
Our new Stanford class "CME 296: Diffusion & Large Vision Models" is now available on YouTube!
11
172
7
1,591
61,495
• Training (pre-training, post-training, tuning, distillation, optimizations) • Common tricks (RoPE-based emebddings, noise schedule, curriculum learning) • Evaluation (FID, IS, LPIPS and feature-based metrics, Multimodal LLMs)
1
16
2,811
All lectures are posted on the "syllabus" page of the course website as they are released: cme296.stanford.edu/syllabus… Happy learning!
1
5
1
38
2,658
Afshine Amidi retweeted
Our Stanford class "CME 295: Transformers & Large Language Models" is now available on YouTube!
2
20
100
7,417
Afshine Amidi retweeted
Stanford University released the best cheatsheets you'll ever find to learn LLMs & Transformers! These cheatsheets cover: • Self-attention, Flash Attention, LoRA, SFT • Mixture of Experts, Distillation, Quantization • RAG, Agents, LLM-as-a-judge 100% Free and Open Source
13
233
3
1,396
134,340
Afshine Amidi retweeted
Geminiの開発エンジニアが書いたスタンフォード講義資料「Transformer と大規模言語モデル」の日本語版 by @yoshiyukinakai これはがっつり読みたい。書籍紹介ページ superstudy.guide/transformer… と、無償のチートシートもある。github.com/afshinea/stanford…
2
210
5
1,400
105,995
Afshine Amidi retweeted
Transformers & LLMs cheatsheets for Stanford's CME-295! Covering tokenization, self-attention, prompting, fine-tuning, LLM-as-a-judge, RAG, AI Agents, and reasoning models. 100% free and open-source.
20
198
5
1,141
101,720
Announcing the VIP Cheatsheet for Stanford's CME 295 Transformers & Large Language Models class. Topics include: - Transformers: self-attention, architecture, variants, optimization techniques (sparse attention, low-rank attention, flash attention) - LLMs: prompting, finetuning (SFT, LoRA), preference tuning, optimization techniques (mixture of experts, distillation, quantization) - Applications: LLM-as-a-judge, RAG, agents, reasoning models (train-time and test-time scaling from DeepSeek-R1)
1
7
1
28
3,897
This Spring, my twin brother @shervinea and I will be teaching a new class at Stanford called "Transformers & Large Language Models" (CME 295). The goal of this class is to understand where LLMs come from, how they are trained, and where they are most used. We will also explore more recent topics such as reasoning models and agentic workflows. We will be posting updates on the class website and uploading some relevant material in the coming weeks. For reference, a large portion of the class is based on our recent book "Super Study Guide: Transformers & Large Language Models". Stay tuned & happy learning!
2
5
2
45
3,518
「Super Study Guide: Transformer と大規模言語モデル」日本語版が発売されました。250 ページにわたり約 600 点のカラーの図を交えて Transformer と LLM の詳細を解説しています。
1
4
9
1,922
内容は以下のとおりです。 - Transformer(仕組み、詳細な例) - LLM(事前学習、プロンプトエンジニアリング、ファインチューニング、プリファレンスチューニング、量子化などの最適化手法) - 応用(RAG、翻訳など)
1
5
828
Book Review Video : Super Study Guide: Transformers & Large Language Models by @afshinea & @shervinea 🙂 Video Link : youtube.com/watch?v=VLTj3Se3… #LLM #GenerativeAI #DataScience #MachineLearning #NLP
1
1
5
2,870