jaymody/picoGPT resource
An unnecessarily tiny implementation of GPT-2 in NumPy. observed · 2026-08-28
Health v2 · maintenance only
31/100
- Activity 0
- Release rhythm 35
- Longevity 94
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1320
- days_rel: n/a
- days_push: 1227
- n_releases_24m: 0
Adoption not part of the score
3473 stars · 455 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A tiny, minimal implementation of GPT-2 inference in plain NumPy, with the forward pass in ~40 lines of code. It is an educational companion to a blog post explaining GPT from scratch, with no training support.
Use cases
- understand how GPT-2 works internally
- learn transformer forward pass from scratch
- run GPT-2 text generation without PyTorch or TensorFlow
- teach a deep learning class about language models
- read a minimal GPT implementation in NumPy
When to choose
- you want to learn how GPT-2 inference works line by line
- you need a dependency-light NumPy-only GPT-2 forward pass
- you want readable code to accompany a from-scratch tutorial
When to avoid
- you need training or fine-tuning of GPT models
- you need fast, batched, or production inference
- you need sampling controls like top-k, top-p, or temperature
Facets
learning-resource · maturity maintenance
llm-inference machine-learning nlp large-language-models deep-learning education python cross-platform gpt-2 numpy minimal-implementation educational transformer inference-only natural-language-processing
1 source
- readme: https://github.com/jaymody/picoGPT · fetched 2026-08-28 · 943493f86c57
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| jaymody/picoGPT | main | 31 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem