Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
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
    B

    Brendan Bycroft

    bbycroft.net · Personal blog · on HN since 2023

    Brendan Bycroft, a developer, made an interactive 3D visualization that walks through how a large language model works.

    Visit blogHN submissions
    AI & Machine LearningData & Visualization
    What HN says

    Commenters recommend his LLM visualization as a strong, visual introduction to how LLMs and transformers work internally.

    Stats for nerds
    27HN people shared it
    6linked in comments
    649story points
    Aug 2026last shared
    2023people per year2026

    Top posts on HN

    1. 1
      LLM Visualization
      27 people · 649 points · first shared 2023 · 46 comments on HN

    What HN people wrote when they linked it

    • lossoloJul 2024

      I think you are confused on how transformers work. You are confusing between static embeddings and the dynamic, contextual outputs calculated by transformers. While initial embeddings (representations BEFORE processing through the transformer layers) are relatively static, the output embeddings from each layer of the transformer are highly dynamic and context-dependent. They incorporate information from the entire input sequence via the attention mechanisms.

      So when transformers process an input sequence, they don't just look at each token in isolation but consider the ENTIRE sequence's context through complex inter-token relationships. This makes the technique of caching outputs non-trivial and context-specific. The sequential processing does not imply independence of tokens but underscores the integral role of context and sequence in generating accurate and coherent outputs.

      This should help you understand better how transformers work: https://bbycroft.net/llm

    • IshanMiDec 2023

      Focusing on Deep Learning specifically:
      - Most LLMs currently use the transformer architecture. You can learn about this visually (https://bbycroft.net/llm), or through this blog post (https://jalammar.github.io/illustrated-transformer/), or through any number of Andrej Karpathy's blog posts and materials.
      - To stay on top of papers that get published every week, I read a summary every Sunday: https://github.com/dair-ai/ML-Papers-of-the-Week
      - To learn more about the engineering side of it, you can join Discord servers such as EleutherAI's, or follow GitHub discussions of projects like llama.cpp

      Personally I think the best way to develop per unit time is probably to try to re-implement some of the big papers in the field. There's a clear goal, there are clear signs of success, there are many implementations out there for you to check your work against and compare and learn from.

      Good luck!

    • kengoaFeb 2026

      Amazing work! Reminded me of LLM Visualization (https://bbycroft.net/llm) except this is a lot easier to wrap my head around and that I can actually run the training loops, which makes sense given the simplicity of the original microgpt.

      To give a sense of what the loss value means, maybe you can add a small explainer section as a question and add this explanation from Karpathy’s blog:

      > Over 1,000 steps the loss decreases from around 3.3 (random guessing among 27 tokens: −log(1/27)≈3.3) down to around 2.37.

      to reiterate that the model is being trained to predict the next token out of 27 possible tokens and is now doing better than the baseline of random guess.

    • janalsncmMar 2025

      Innovation in data visualization? From a purely utilitarian view, the purpose of data visualization is to present data in a way people can understand it. If you’re constantly changing the method of visualizing the same thing it’s harder to do that. Sometimes a bar chart is best.

      As far as cool visualizations go (that are better served as nonstandard visualizations) there are two recent ones that come to mind:

      https://youtu.be/TkwXa7Cvfr8 (Especially around 16:56)

      https://bbycroft.net/llm

    • eurekinDec 2023

      https://www.youtube.com/@algorithmicsimplicity - that series cleared up the fundamental question about transformers I couldn't find an answer for in many recommended materials.

      Here's also nice tour de building blocks, which could also double as transformers/tensorflow API reference documentation: https://www.youtube.com/watch?v=eMXuk97NeSI&t=207s

      The #1 visualization of architecture and size progression: https://bbycroft.net/llm

    • munroNov 2025

      I'm more looking at the problem more like code

      https://bbycroft.net/llm

      My immediate thought is when the model responds "Oh I'm thinking about X"... that X isn't from the input, it's from attention, and thinking this experiment is simply injecting that token right after the input step into attn--but who knows how they select which weights

    Related

    Jay Alammarjalammar.github.io108 people

    The Illustrated Transformer

    Jay Alammar
    Personal · last shared 2026
    Yao Fuyaofu.notion.site21 people

    How Does GPT Obtain Its Ability? Tracing Emergent Abilities of Language Models

    Yao Fu
    Personal · last shared 2024
    Steven Wittensacko.net287 people

    TermKit - a graphical terminal replacement

    Steven Wittens
    Personal · last shared 2026
    Towards Data Sciencemedium.com/towards-data-science90 people

    Audio processing in TensorFlow

    Towards Data Science
    Publication · last shared 2025
    Chroma Researchresearch.trychroma.com19 people

    Context Rot: How increasing input tokens impacts LLM performance

    Chroma Research
    Company · last shared 2026
    Google AI Blogai.googleblog.com596 people

    Google Duplex: An AI System for Accomplishing Real World Tasks Over the Phone

    Google AI Blog
    Company · last shared 2026
    Brendan O'Connorbrenocon.com29 people

    Statistics vs. Machine Learning

    Brendan O'Connor
    Personal · last shared 2026
    Inconvergentinconvergent.net42 people

    On generative algorithms

    Inconvergent
    Personal · last shared 2025