Model reference · open weights
gpt2-mini is an open-weight language model from erwanf. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.
Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.
What it is
| Released by | erwanf |
|---|---|
| Type | Language models |
| Task | Text gen |
| Parameters (lead) | 39M |
| Context | 512 tokens |
| Runs with | transformers |
| Released | 2024-06-23 |
| Popularity | 102k downloads / month |
| Licence | Open weights |
Using it via the API
Once AxForge deploys gpt2-mini for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (gpt2-mini below is illustrative; you get the exact model name on deployment.)
$ curl -sS https://api.axforge.ai/v1/chat/completions \
-H "Authorization: Bearer $AXFORGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"gpt2-mini","messages":[{"role":"user","content":"Hello"}]}'
Create an account — your API key is available in the console. 3M free tokens every 30 days with every new account.