HackerTube
HomeLongsLikedHistoryWatch laterCategoriesPlaylistsSettings

The spelled-out intro to language modeling: building makemore

Andrej Karpathy2 HN recommenders · recommended in 2 months, 2024-2024
YouTube
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.

Machine learning & deep learningLLMs & generative AI#makemore#bigram#pytorch#neuralnetworks#karpathy#next-tokenprediction

4 comments from Hacker News

@caprock2024 · in “The n-gram Language Model”

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.

CitesView on HN
@georgehill2024 · in “Show HN: Next-token prediction in JavaScript”

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

Strongly recommendsView on HN
@chrsig2024 · in “GPT in 500 Lines of SQL”

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

CitesView on HN
@islewis2024 · in “Markov Chains are the Original Language Models”

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

Strongly recommendsView on HN
[1hr Talk] Intro to Large Language Models59:48

[1hr Talk] Intro to Large Language Models

Andrej Karpathy
4.3M views • 2 years ago
Deep Dive into LLMs like ChatGPT3:31:24

Deep Dive into LLMs like ChatGPT

Andrej Karpathy
10.2M views • 1 year ago
Let's build GPT: from scratch, in code, spelled out.1:56:20

Let's build GPT: from scratch, in code, spelled out.

Andrej Karpathy
8.2M views • 3 years ago
Large Language Models from scratch8:25

Large Language Models from scratch

Graphics in 5 Minutes
375K views • 4 years ago
State of GPT | BRK216HFS42:40

State of GPT | BRK216HFS

Microsoft Developer
785K views • 3 years ago
Let's build the GPT Tokenizer2:13:35

Let's build the GPT Tokenizer

Andrej Karpathy
1.3M views • 2 years ago
AI Language Models & Transformers - Computerphile20:39

AI Language Models & Transformers - Computerphile

Computerphile
354K views • 7 years ago
A Hackers' Guide to Language Models1:31:13

A Hackers' Guide to Language Models

Jeremy Howard
580K views • 3 years ago
The spelled-out intro to neural networks and backpropagation: building micrograd2:25:52

The spelled-out intro to neural networks and backpropagation: building micrograd

Andrej Karpathy
4.4M views • 4 years ago
GPT3: An Even Bigger Language Model - Computerphile25:57

GPT3: An Even Bigger Language Model - Computerphile

Computerphile
446K views • 6 years ago
Transformers, the tech behind LLMs | Deep Learning Chapter 527:14

Transformers, the tech behind LLMs | Deep Learning Chapter 5

3Blue1Brown
11.6M views • 2 years ago
Building the Software 2 0 Stack (Andrej Karpathy)17:55

Building the Software 2 0 Stack (Andrej Karpathy)

Databricks
73K views • 8 years ago
Andrej Karpathy: Software Is Changing (Again)39:32

Andrej Karpathy: Software Is Changing (Again)

Y Combinator
2.6M views • 1 year ago
A Style-Based Generator Architecture for Generative Adversarial Networks6:18

A Style-Based Generator Architecture for Generative Adversarial Networks

Tero Karras FI
1.3M views • 7 years ago
CS231n Winter 2016: Lecture1: Introduction and Historical Context1:19:08

CS231n Winter 2016: Lecture1: Introduction and Historical Context

Andrej Karpathy
462K views • 10 years ago
LSTM is dead. Long Live Transformers!28:48

LSTM is dead. Long Live Transformers!

Seattle Applied Deep Learning
540K views • 6 years ago
Lecture 1 | Natural Language Processing with Deep Learning1:11:41

Lecture 1 | Natural Language Processing with Deep Learning

Stanford University School of Engineering
820K views • 9 years ago
Swift for TensorFlow: The Next-Generation Machine Learning Framework (TF Dev Summit '19)31:22

Swift for TensorFlow: The Next-Generation Machine Learning Framework (TF Dev Summit '19)

TensorFlow
41K views • 7 years ago
Do we need Attention? - Linear RNNs and State Space Models (SSMs) for NLP39:43

Do we need Attention? - Linear RNNs and State Space Models (SSMs) for NLP

Sasha Rush
35K views • 3 years ago
Attention Is All You Need27:07

Attention Is All You Need

Yannic Kilcher
814K views • 8 years ago