- Size
- 137M parameterscounted from the safetensors header on the Hub
- Licence
- unknown, MIT LicenseOur reading, check the licence: You can use, change and redistribute the model for any purpose, including commercially. Keep the copyright notice and the licence text with copies. You do not have to share your changes.
- On the Hub since
- 2 Mar 2022the date the repo was created
- Context length
- Not known
- Kind
- Base model (no base model declared on the Hub)GPT2LMHeadModel
- On Hugging Face
- openai-community/gpt234.3M downloads in the last 30 days, 4.0k likes
Scores
No independent scores for this model in Epoch AI's data. A score is only shown here when Epoch's name for a model matches this repo with certainty; an uncertain match is left out rather than guessed.
Claimed by the maker Claimed
The model card has no claimed scores in a machine-readable form (the card's model-index), so none are shown. The maker may give scores in the card text: read the card.
Other views, which we link to and do not copy: look this model up on Artificial Analysis and the Arena leaderboard.
Run it yourself
Memory needed = weights + context cache + 0.50 GB for the runtime. Context cache at 8k tokens: 0.28 GB, worked out from the model's config (openai-community/gpt2), at 16-bit precision. Choose a machine above to see a verdict for each format. Method
GGUF for llama.cpp, Ollama, LM Studio and others
PrunaAI/gpt2-GGUF-smashed (converted by PrunaAI), 2.6k downloads. Sizes are the real files on the Hub, all parts added up.
| Format | Size | Memory needed | Get it |
|---|---|---|---|
| Q3_K_S | 0.08 GBfile size | 0.87 GB0.08 + 0.28 + 0.50 | Commandsllama.cpp llama-server -hf PrunaAI/gpt2-GGUF-smashed:Q3_K_SOllama ollama run hf.co/PrunaAI/gpt2-GGUF-smashed:Q3_K_SDownload hf download PrunaAI/gpt2-GGUF-smashed --include "gpt2.Q3_K_S.gguf" --local-dir gpt2-GGUF-smashed |
| Q3_K_M | 0.09 GBfile size | 0.87 GB0.09 + 0.28 + 0.50 | Commandsllama.cpp llama-server -hf PrunaAI/gpt2-GGUF-smashed:Q3_K_MOllama ollama run hf.co/PrunaAI/gpt2-GGUF-smashed:Q3_K_MDownload hf download PrunaAI/gpt2-GGUF-smashed --include "gpt2.Q3_K_M.gguf" --local-dir gpt2-GGUF-smashed |
| Q3_K_L | 0.10 GBfile size | 0.88 GB0.10 + 0.28 + 0.50 | Commandsllama.cpp llama-server -hf PrunaAI/gpt2-GGUF-smashed:Q3_K_LOllama ollama run hf.co/PrunaAI/gpt2-GGUF-smashed:Q3_K_LDownload hf download PrunaAI/gpt2-GGUF-smashed --include "gpt2.Q3_K_L.gguf" --local-dir gpt2-GGUF-smashed |
| Q4_0 | 0.10 GBfile size | 0.88 GB0.10 + 0.28 + 0.50 | Commandsllama.cpp llama-server -hf PrunaAI/gpt2-GGUF-smashed:Q4_0Ollama ollama run hf.co/PrunaAI/gpt2-GGUF-smashed:Q4_0Download hf download PrunaAI/gpt2-GGUF-smashed --include "gpt2.Q4_0.gguf" --local-dir gpt2-GGUF-smashed |
| Q4_K_S | 0.10 GBfile size | 0.88 GB0.10 + 0.28 + 0.50 | Commandsllama.cpp llama-server -hf PrunaAI/gpt2-GGUF-smashed:Q4_K_SOllama ollama run hf.co/PrunaAI/gpt2-GGUF-smashed:Q4_K_SDownload hf download PrunaAI/gpt2-GGUF-smashed --include "gpt2.Q4_K_S.gguf" --local-dir gpt2-GGUF-smashed |
| Q4_K_M | 0.11 GBfile size | 0.89 GB0.11 + 0.28 + 0.50 | Commandsllama.cpp llama-server -hf PrunaAI/gpt2-GGUF-smashed:Q4_K_MOllama ollama run hf.co/PrunaAI/gpt2-GGUF-smashed:Q4_K_MDownload hf download PrunaAI/gpt2-GGUF-smashed --include "gpt2.Q4_K_M.gguf" --local-dir gpt2-GGUF-smashed |
| Q4_1 | 0.11 GBfile size | 0.89 GB0.11 + 0.28 + 0.50 | Commandsllama.cpp llama-server -hf PrunaAI/gpt2-GGUF-smashed:Q4_1Ollama ollama run hf.co/PrunaAI/gpt2-GGUF-smashed:Q4_1Download hf download PrunaAI/gpt2-GGUF-smashed --include "gpt2.Q4_1.gguf" --local-dir gpt2-GGUF-smashed |
| Q5_0 | 0.11 GBfile size | 0.89 GB0.11 + 0.28 + 0.50 | Commandsllama.cpp llama-server -hf PrunaAI/gpt2-GGUF-smashed:Q5_0Ollama ollama run hf.co/PrunaAI/gpt2-GGUF-smashed:Q5_0Download hf download PrunaAI/gpt2-GGUF-smashed --include "gpt2.Q5_0.gguf" --local-dir gpt2-GGUF-smashed |
| Q5_K_S | 0.11 GBfile size | 0.89 GB0.11 + 0.28 + 0.50 | Commandsllama.cpp llama-server -hf PrunaAI/gpt2-GGUF-smashed:Q5_K_SOllama ollama run hf.co/PrunaAI/gpt2-GGUF-smashed:Q5_K_SDownload hf download PrunaAI/gpt2-GGUF-smashed --include "gpt2.Q5_K_S.gguf" --local-dir gpt2-GGUF-smashed |
| Q5_K_M | 0.12 GBfile size | 0.90 GB0.12 + 0.28 + 0.50 | Commandsllama.cpp llama-server -hf PrunaAI/gpt2-GGUF-smashed:Q5_K_MOllama ollama run hf.co/PrunaAI/gpt2-GGUF-smashed:Q5_K_MDownload hf download PrunaAI/gpt2-GGUF-smashed --include "gpt2.Q5_K_M.gguf" --local-dir gpt2-GGUF-smashed |
| Q5_1 | 0.12 GBfile size | 0.90 GB0.12 + 0.28 + 0.50 | Commandsllama.cpp llama-server -hf PrunaAI/gpt2-GGUF-smashed:Q5_1Ollama ollama run hf.co/PrunaAI/gpt2-GGUF-smashed:Q5_1Download hf download PrunaAI/gpt2-GGUF-smashed --include "gpt2.Q5_1.gguf" --local-dir gpt2-GGUF-smashed |
| Q6_K | 0.13 GBfile size | 0.91 GB0.13 + 0.28 + 0.50 | Commandsllama.cpp llama-server -hf PrunaAI/gpt2-GGUF-smashed:Q6_KOllama ollama run hf.co/PrunaAI/gpt2-GGUF-smashed:Q6_KDownload hf download PrunaAI/gpt2-GGUF-smashed --include "gpt2.Q6_K.gguf" --local-dir gpt2-GGUF-smashed |
| Q8_0 | 0.16 GBfile size | 0.95 GB0.16 + 0.28 + 0.50 | Commandsllama.cpp llama-server -hf PrunaAI/gpt2-GGUF-smashed:Q8_0Ollama ollama run hf.co/PrunaAI/gpt2-GGUF-smashed:Q8_0Download hf download PrunaAI/gpt2-GGUF-smashed --include "gpt2.Q8_0.gguf" --local-dir gpt2-GGUF-smashed |
MLX for Apple silicon
| Format | Size | Memory needed | Repo |
|---|---|---|---|
| MLX 4bitjesusoctavioas/gpt2-mlx-4Bit | 0.07 GBfile size | 0.85 GB0.07 + 0.28 + 0.50 | Download page |
| MLX 8bitjesusoctavioas/gpt2-mlx-8Bit | 0.13 GBfile size | 0.91 GB0.13 + 0.28 + 0.50 | Download page |
Original weights size from the safetensors header, for vLLM, SGLang, Transformers
| Format | Size | Memory needed | Repo |
|---|---|---|---|
| F32original weights | 0.51 GBfile size | 1.3 GB0.51 + 0.28 + 0.50 |
hf download openai-community/gpt2 --local-dir gpt2Other conversions (9; sizes not read)
- Xenova/gpt2 Other, 8.6k downloads
- jkawamoto/gpt2-ct2 Other, 390 downloads
- Samson0229/gpt2-pc8 Other, 93 downloads
- c2p-cmd/GPT2-Summarizer Other, 81 downloads
- liodon-ai/gpt2-FP8 FP8, 47 downloads
- lapp0/istily_bench_gpt2_simple_objectives bitsandbytes, 46 downloads
- manu02/gpt2-bnb-4bit-nf4-dq bitsandbytes, 4bit, 41 downloads
- Joseph200105/GPT2-GPTQ-int4 GPTQ, int4, 35 downloads
- Anthonyg5005/gpt2-exl2 EXL2, 0 downloads
The Hub tags 100 or more quantised repos as conversions of this model; we read the most downloaded and show the maker's own first.
Run it by API
No provider on Hugging Face Inference Providers serves this model (as of 19 Nov 2026, 13:58 UTC). Other hosts may; we only list what the router reports.
Not built yet: one key for every open model, with BlockRun, and our own tested-quality score per provider. Until then, precision and measured speed are the best guide to a provider here.
Fine-tunes of this model
Repos that declare this model as their base, most downloaded first. Listing is not a recommendation; unreviewed ones have not been checked.
- EleutherAI/GPT-2-wikitext-chunks124M178Unreviewed
Planned for this page Not built yet
- Try it in private chat
- A link to Solana AI's confidential chat for the models it serves. This model is not listed as served there.
- Fine-tune it
- Fine-tuning a few base models from this page and publishing the result here.
- Creators and earnings
- Pages for people who publish fine-tunes and adapters of this model, and what they earn.
- Fund and bounties
- Bounties for new open models, paid from a public fund. How the fund will work.
- Contribute compute
- How to give compute to open model work, with Akash.
Model data from the Hugging Face Hub 19 Nov 2026, 13:43 UTC. The repo. Found a mistake on this page? Tell us.