Hacker GitHub

← All repos

nathanrs/gpt2-webgl

View on GitHub ↗ ★ 348 TypeScript

A browser-based, WebGL2 implementation of GPT-2 with transform block and attention matrix visualization

4 mentions on Hacker News by 2 people: 1 story, 3 comments · first 2025-05-02 · latest 2025-05-27

Mentions per year 4 mentions · busiest year 2025 (4)
20082026
  1. …GPT-2 running and the visualizations of the attention matrices and transformer block outputs Repo: https://github.com/nathan-barry/gpt2-webgl
  2. …simple that does something non-trivial. It reminded me of the early "GPGPU" days (early 2000s?) [1] https://github.com/nathan-barry/gpt2-webgl/blob/main/src/gpt...
  3. …on load, but probably not today. There is a link to the zipped up folder with the weights here: https://github.com/nathan-barry/gpt2-webgl/releases/download... If anyone wants to make a PR which fetches the file from there, unzips it, then…