gpt2 vs tiny_starcoder_py
Specs, VRAM requirements and download trends — updated 6 August 2026.
Specification comparison
Differences are highlighted; identical values are muted.
| Specification | gpt2 | tiny_starcoder_py |
|---|---|---|
| Parameters | 140 M | 160 M |
| Architecture | GPT2LMHeadModel | GPTBigCodeForCausalLM |
| Context length | — | — |
| Licence | mit | bigcode-openrail-m |
| Commercial use | Allowed | Unknown |
| Languages | 1 | — |
| Downloads 30d | 13,734,664 | 249,481 |
| Downloads all time | 901.9 M | 1.3 M |
| Quantizations on the Hub | SAFETENSORS | SAFETENSORS |
| Gated | No | No |
| First seen on the Hub | 2022-03-02 | 2023-05-15 |
Download trend
Daily snapshots, last 10 days (28 Jul – 6 Aug)
13.9 M246 K
gpt2
tiny_starcoder_py
VRAM side by side
On RTX 4090 · 24 GB · 8K context unless noted
gpt2 · fp16
1.1 GB / 24 GB
tiny_starcoder_py · fp16
1.2 GB / 24 GB