AI Language Models & Transformers - Computerphile
Computerphile3 HN recommenders · recommended in 3 months, 2022–2025
explainer · intro · evergreen · 2022–2025 on HN
Rob Miles explains on Computerphile how language models generate plausible text and how transformers improved on recurrent networks, with a look at what comes next.
Pointed to as an accessible early explanation of transformers and attention for newcomers.
Up next
8 mo on HNLet's build GPT: from scratch, in code, spelled out.
Andrej Karpathy
14 HN recommender · 2023–2025
8 mo on HNLecture 6: Version Control (git) (2020)
Missing Semester
9 HN recommender · 2020–2023
12 mo on HNTIMELAPSE OF THE FUTURE: A Journey to the End of Time (4K)
melodysheep
13 HN recommender · 2019–2025
10 mo on HNTransformers, the tech behind LLMs | Deep Learning Chapter 5
3Blue1Brown
13 HN recommender · 2024–2026
8 mo on HNDeep Dive into LLMs like ChatGPT
Andrej Karpathy
10 HN recommender · 2025–2026
8 mo on HNA Hackers' Guide to Language Models
Jeremy Howard
8 HN recommender · 2023–2024
6 mo on HN[1hr Talk] Intro to Large Language Models
Andrej Karpathy
9 HN recommender · 2023–2026
4 mo on HNSparks of AGI: early experiments with GPT-4
Sebastien Bubeck
7 HN recommender · 2023–2026
5 mo on HNLet's build the GPT Tokenizer
Andrej Karpathy
5 HN recommender · 2024–2025
4 mo on HNAttention in transformers, step-by-step | Deep Learning Chapter 6
3Blue1Brown
5 HN recommender · 2024–2026
4 mo on HNThe A.I. Dilemma - March 9, 2023
Center for Humane Technology
11 HN recommender · 2023–2024
4 mo on HNLSTM is dead. Long Live Transformers!
Seattle Applied Deep Learning
4 HN recommender · 2020–2023
3 comments from Hacker News
If you want to get a better understanding of this I recommend playing around in the "chat playgrounds" on some of the engines. The Google one allows for some free use before you have to pay for tokens. (Usually you can buy $5 worth of tokens as a minimum and that will give you more than you can use up with manual requests.) link This UI allows you to alter the system prompt (which is usually hidden from the user on eg ChatGPT) and change to different models and change parameters. And then you give it the chat input similar as any other site. You can also install a program like "LM Studio" and that will allow you to download models (through the UI) and run locally on your own machine. This gives you a similar interface to what you see in the Google AI Studio but you run it locally. And with downloaded models. (The model you download is the actual LLM which is basically very large amount of parameters you combine with the input tokens to get the next token the system outputs.) For a more fundamental introduction to what all these systems do there are a number of Computerphile videos which are quite informative. Unfortunately I can't find a good playlist of them all but here's one of the early ones. (Robert Miles is in many of them.) ▶ this video
Those Computerphile videos[0] by Rob Miles helped me understand transformers. He specifically references the "Attention is all you need" paper. And for a deeper dive, Andrej Kharpaty has this hands-on video[1] where he builds a transformer from scratch. You can check-out his other videos on NLP as well they are all excellent. [0] ▶ this video , link [1] link
This video by Computerphile is a great overview of transformers and how we got to this point [0]. Basically the networks we used before, recurrent neural networks, "forgot" prior information so they're not good at long tasks. The transformer architecture however does not forget (or at least as easily). [0] ▶ this video