BenoitPon Hacker News • Recommends
On “Visualizing Attention, a Transformer's Heart [video]”
#transformer#attentionmechanism#embeddings
8.7M subscribers • 42 videos on Hallway
Intermediate. Assumes working knowledge.
11M views2 years ago14 recommendations
AI and machine learningComputer scienceTransformers and LLMsNeural networks and deep learningMath for machine learning
Grant Sanderson provides a visual explanation of how transformers and large language models process data through embeddings and attention mechanisms.
Breaking down how Large Language Models work, visualizing how data flows through. Instead of sponsored ad reads, these lessons are funded directly by viewers: 3b1b.co/support --- Here are a few other relevant resources Build a GPT from scratch, by Andrej Karpathy youtu.be/kCc8FmEb1nY If you want a conceptual understanding of language models from the ground up, @vcubingx just started a short series of videos on the topic: youtu.be/1il-s4mgNdI?si=XaVxj6bsdy3VkgEX If you're interested in the herculean task of interpreting what these large networks might actually be doing, the Transformer Circuits posts by Anthropic are great. In particular, it was only after reading one of these that I started thinking of the combination of the value and output matrices as being a combined low-rank map from the embedding space to itself, which, at least in my mind, made things much clearer than other sources. transformer-circuits.pub/2021/framework/index.html History of language models by Brit Cruise, @ArtOfTheProblem youtu.be/OFS90-FX6pg An early paper on how directions in embedding spaces have meaning: arxiv.org/pdf/1301.3781.pdf Звуковая дорожка на русском языке: Влад Бурмистров. --- Timestamps - Predict, sample, repeat - Inside a transformer - Chapter layout - The premise of Deep Learning - Word embeddings - Embeddings beyond words - Unembedding - Softmax with temperature - Up nextWhat people say. Highly recommended as an exceptionally clear, visual explanation that makes the self-attention mechanism and transformer architecture intuitive.
BenoitPon Hacker News • Recommends
On “Visualizing Attention, a Transformer's Heart [video]”
Wilduckon Hacker News • Recommends
On “Ask HN: Why can't ChatGPT solve Wordle-type questions?”
tomashmon Hacker News • Recommends
On “The Illustrated Transformer (2018)”
manmalon Hacker News • Recommends
On “Embeddings are underrated (2024)”
gf000on Hacker News • Recommends
On “King – man and woman is queen; but why?”
robrenaudon Hacker News • Recommends
On “"They're made out of weights"”
CharlesWon Hacker News • Recommends
On “Ask HN: If AI can be creative, does this mean humans can be taught creativity?”
MAXPOOLon Hacker News • Recommends
On “The Engineer’s Guide to Deep Learning: Understanding the Transformer Model”
semiquaveron Hacker News • Recommends
On “Reasoning models don't always say what they think”
andrehackeron Hacker News • Recommends
On “Writing an LLM from scratch, part 13 – attention heads are dumb”
matthewolfeon Hacker News • Recommends
On “Show HN: TokenDagger – A tokenizer faster than OpenAI's Tiktoken”
chan1on Hacker News • Recommends
On “Understanding Neural Network, Visually”
dannywon Hacker News • Recommends
On “Claude Token Counter, now with model comparisons”
meat_machineon Hacker News • Mentions
On “Could the cosmos, in fact, be conscious?”
tmshon Hacker News • Mentions
On “You can't spell "Gell-Mann amnesia" without LLM”