Skip to content
HomeVideos
AllLongsCategoriesPlaylists
BooksBlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K

    LSTM is dead. Long Live Transformers!

    Seattle Applied Deep Learning

    4 HN recommenders · recommended in 5 months, 2020–2023

    YouTube

    28:48 · 541K views · Dec 3, 2019

    Leo Dirac explains how transformer models have replaced LSTMs in NLP. He gives background from bag of words through RNNs and LSTMs, then a technical deep dive into multi-headed self-attention and positional encoding, with sample code.

    Recommended as a clear explanation of why RNNs fall short and how transformers solve it.

    AI, Machine Learning & DataLLMs & generative AIMachine learning & deep learningComputer vision, speech & NLP
    1. 27:14
      Transformers, the tech behind LLMs | Deep Learning Chapter 53Blue1Brown12M views • 2 years ago
    2. 20:39
      AI Language Models & Transformers - ComputerphileComputerphile354K views • 7 years ago
    3. 1:56:20
      Let's build GPT: from scratch, in code, spelled out.Andrej Karpathy8.2M views • 3 years ago
    4. 3:31:24
      Deep Dive into LLMs like ChatGPTAndrej Karpathy10M views • 1 year ago
    5. 26:10
      Attention in transformers, step-by-step | Deep Learning Chapter 63Blue1Brown4.9M views • 2 years ago
    6. 8:25
      Large Language Models from scratchGraphics in 5 Minutes375K views • 4 years ago
    7. 27:07
      Attention Is All You NeedYannic Kilcher814K views • 8 years ago
    8. 39:43
      Do we need Attention? - Linear RNNs and State Space Models (SSMs) for NLPSasha Rush35K views • 3 years ago
    9. 1:22:38
      CS480/680 Lecture 19: Attention and Transformer NetworksPascal Poupart374K views • 7 years ago
    10. 1:31:13
      A Hackers' Guide to Language ModelsJeremy Howard580K views • 3 years ago
    11. 42:40
      State of GPT | BRK216HFSMicrosoft Developer786K views • 3 years ago
    12. 2:13:35
      Let's build the GPT TokenizerAndrej Karpathy1.3M views • 2 years ago
    13. 59:48
      [1hr Talk] Intro to Large Language ModelsAndrej Karpathy4.3M views • 2 years ago
    14. 37:20
      But how do AI images and videos actually work? | Guest video by Welch Labs3Blue1Brown2.2M views • 1 year ago
    15. 1:11:41
      Lecture 1 | Natural Language Processing with Deep LearningStanford University School of Engineering821K views • 9 years ago
    16. 48:32
      Sparks of AGI: early experiments with GPT-4Sebastien Bubeck1.8M views • 3 years ago
    17. 1:57:45
      The spelled-out intro to language modeling: building makemoreAndrej Karpathy1.3M views • 4 years ago
    18. 1:05:18
      Recent Developments in Deep LearningGoogle TechTalks85K views • 16 years ago
    19. 29:43
      OpenAI Codex Live DemoOpenAI913K views • 5 years ago
    20. 2:25:52
      The spelled-out intro to neural networks and backpropagation: building microgradAndrej Karpathy4.4M views • 4 years ago

    5 comments from Hacker News

    1. @leopdMay 2023· in “Ask HN: Can someone ELI5 Transformers and the “Attention is all we need” paper”

      I don't think you really want a 5yo's version, because that's "computers can be smart". But for an SDE1-level explanation I made this video which has gotten tons of compliments and keeps people watching year after year: this video It's in the context of NLP, which is where transformers started of course.

      Strongly recommendsView on HN
    2. @FL33TW00DOct 2020· in “Rethinking Attention with Performers”

      I've just recently been on a journey to understand transformers in and out, here are the resources I've found managed to drill it into my head: 1. Chapters 7, 9, 10 [LINK] This was really useful to really build up to the concepts of attention (although the actual attention section is still brief). 2. [LINK] This was great for visualization and understanding that attention wasn't exclusively for transformers and actually was for RNNs first. 3. [LINK] Getting to understand how transformers actually work visually. 4. this video This lecture by Leo Dirac was extremely helpful to finish off with, not only because it actually includes some pseudocode but it also revisits some key topics and covers why transformers are needed. One of the big confusion points for me was that the concept of ATTENTION and SELF-ATTENTION are not the same thing. Hope this helps.

      RecommendsView on HN
    3. @qigtyofhpFeb 2023· in “Understanding and Coding the Self-Attention Mechanism of Large Language Models”

      The attention mechanism started as a simple trick to not use recurrent neural networks. Read the intro in the original paper "Attention is all you need paper" ( [LINK] ) This video explains the drawbacks to RNNs and how transformers solve that: this video Andrej Karpathy explains attention here: [LINK] He explains how attention is seen as a communication network: [LINK]

      RecommendsView on HN
    4. @peterfireflyJan 2023· in “The Transformer Family”

      Yannic Kilcher is great but this video worked better for me: "LSTM is dead. Long live transformers!" (Leo Dirac): this video

      RecommendsView on HN
    5. @abetuskApr 2023· in “We aren't close to creating a rapidly self-improving AI”

      I'm not sure I understand it well enough to say but watching a video on it [0] I think there were a few key points: * "Attention is all you need" introduced positional encoding which allows you to keep context of the word, allowing for more complex translation (and thus generative/chatgpt like tasks?) because words now have context relative to each other. Contrast this with "bag of words" models that only tells you whether the word is present or not. * I don't quite understand why but transformers (which "AiaYN" introduced) can be made fully parallel, compared with the RNN/LSTM networks which has to be serial per token. Fully parallel allows for GPU optimization, which means you can take advantage of Moore's law for training. I'm always a bit suspicious when people claim a breakthrough of this sort. There's no doubt that better algorithms give better results but how much is due to just faster computers, cheaper compute, memory, etc. [0] this video

      CitesView on HN