A1 GPT-2, implemented in a spreadsheet
Learn complex AI topics using familiar tools.
A real large language model, built cell by cell in a spreadsheet and in plain JavaScript. Explore it in Excel or in your browser with IronCalc. Every weight, every attention head, every formula is there to click on.
B6=SOFTMAX(MMULT(Q6:Q69, K2:K65) / SQRT(64))
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Mike | is | quick | . | He | moves | |
| 2 | Mike | 1.00 | – | – | – | – | – |
| 3 | is | 0.71 | 0.29 | – | – | – | – |
| 4 | quick | 0.48 | 0.21 | 0.31 | – | – | – |
| 5 | . | 0.22 | 0.09 | 0.41 | 0.28 | – | – |
| 6 | He | 0.62 | 0.05 | 0.11 | 0.08 | 0.14 | – |
| 7 | moves | 0.18 | 0.06 | 0.39 | 0.04 | 0.24 | 0.09 |
TokensEmbedAttentionMLPOutput
H1 From the blog
Notes from building AI in a spreadsheet, and everything it led to.
B4 It started with a radical idea
Implement GPT-2 in Excel, and show that AI can be understood with tools you already know.
The same approach now covers more of AI: complex topics made easy to follow, without oversimplifying them.
C1 From the AI Engineer World’s Fair
The talk that put a transformer in a spreadsheet on stage.
This is the AI equivalent to getting Doom running on a microwave oven.
This is so cool! :D And I'm so happy to hear that my work in implementing neural nets in Excel for @fastdotai helped to inspire this wonderful project.
E1 Go inside a real AI model
Three ways in. Same model, same math.
GPT-2 is an early precursor to ChatGPT. Follow the calculations in a browser-based spreadsheet powered by IronCalc, in Excel, or in plain JavaScript.
E5 Ars TechnicaOnce “too scary” to release, GPT-2 gets squeezed into an Excel spreadsheet
F1 The Spreadsheets-are-all-you-need course
How LLMs Work: A Technical Crash Course for Busy STEM Professionals
Learn how AI works in a few hours, without extensive prep. The course covers how LLMs work and why they work, with the emphasis on intuition.
This is the class I wish I had a long time ago.
Ishan Anand, instructor
Despite being a student in Harvard’s Master’s in Data Science program, I've struggled to understand the concepts that make LLMs so impressive. This class gave me the answers.
Ishan takes a black box, rips it apart to understandable compartments, and clearly communicates what is going on. Highly recommend.
Absolutely amazing for getting a deeper understanding of large language models.
Demonstrates step-by-step how transformers work in generative AI language models using a tool familiar to us all: Excel.
A force of nature at helping people understand LLMs...the Gutenberg Press of AI.
Finally understood LLM tokenization well enough to ask smart questions about it because of these videos. Great resource!
Once “too scary” to release, GPT-2 gets squeezed into an Excel spreadsheet
