The spelled-out intro to language modeling: building makemore
Andrej Karpathy2 HN recommenders · recommended in 2 months, 2024-2024
1.3M views · 4 years ago · tutorial · evergreen
Andrej Karpathy builds a bigram character-level language model from scratch, introducing torch.Tensor and the framework of training, sampling and loss evaluation. It is the first step toward a GPT-style Transformer in his makemore series.
HN recommends it as a long but worthwhile way to demystify how language models work technically.
59:48[1hr Talk] Intro to Large Language Models
Andrej Karpathy
4.3M views • 2 years ago
3:31:24Deep Dive into LLMs like ChatGPT
Andrej Karpathy
10.2M views • 1 year ago
1:56:20Let's build GPT: from scratch, in code, spelled out.
Andrej Karpathy
8.2M views • 3 years ago
8:25Large Language Models from scratch
Graphics in 5 Minutes
375K views • 4 years ago
42:40State of GPT | BRK216HFS
Microsoft Developer
785K views • 3 years ago
2:13:35Let's build the GPT Tokenizer
Andrej Karpathy
1.3M views • 2 years ago
20:39AI Language Models & Transformers - Computerphile
Computerphile
354K views • 7 years ago
1:31:13A Hackers' Guide to Language Models
Jeremy Howard
580K views • 3 years ago
2:25:52The spelled-out intro to neural networks and backpropagation: building micrograd
Andrej Karpathy
4.4M views • 4 years ago
25:57GPT3: An Even Bigger Language Model - Computerphile
Computerphile
446K views • 6 years ago
27:14Transformers, the tech behind LLMs | Deep Learning Chapter 5
3Blue1Brown
11.6M views • 2 years ago
17:55Building the Software 2 0 Stack (Andrej Karpathy)
Databricks
73K views • 8 years ago
39:32Andrej Karpathy: Software Is Changing (Again)
Y Combinator
2.6M views • 1 year ago
6:18A Style-Based Generator Architecture for Generative Adversarial Networks
Tero Karras FI
1.3M views • 7 years ago
1:19:08CS231n Winter 2016: Lecture1: Introduction and Historical Context
Andrej Karpathy
462K views • 10 years ago
28:48LSTM is dead. Long Live Transformers!
Seattle Applied Deep Learning
540K views • 6 years ago
1:11:41Lecture 1 | Natural Language Processing with Deep Learning
Stanford University School of Engineering
820K views • 9 years ago
31:22Swift for TensorFlow: The Next-Generation Machine Learning Framework (TF Dev Summit '19)
TensorFlow
41K views • 7 years ago
39:43Do we need Attention? - Linear RNNs and State Space Models (SSMs) for NLP
Sasha Rush
35K views • 3 years ago
27:07Attention Is All You Need
Yannic Kilcher
814K views • 8 years ago
4 comments from Hacker News
For reference, this project is from Eureka Labs, which is the new education startup from Andrej Karpathy. * link It appears to be a generalized version of the bi-gram project, which he links to here: * ▶ this video It's cool to see him putting in even more effort on the edu work. It's a real gift he has, and was visible all the way back in his grad student projects.
You've made something interesting. Many people have already answered this here [1], so there's no point in me explaining it again. Dropping some pointers that will be helpful for you: - link - Highly recommend this one ▶ this video - link - link 1: ex: link
This is beautiful. I'd actually been going down this same rabbit hole with sqlite, I hadn't gotten far enough to bring a neural net into it. I'd been inspired by the makemore lecture series[0]. At the 1hr mark or so, he switches from counting to using a nn, which is about as far as I've gotten. Breaking it down into a relational model is actually a really great exercise. [0] ▶ this video
I resource I found invaluable in demystifying LLM's was Andrej Karpathy's Youtube series. In particular, his "Makemore" video built a basic LLM in the same vein as OP's. It's long (2h), but well worth the time if anyone is curious about the technical workings of LLMs. ▶ this video