Model reference · open weights
gemma-2-bnb is an open-weight language model from unsloth. 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 | unsloth |
|---|---|
| Type | Language models |
| Task | Text gen |
| Parameters (lead) | 2.7B |
| Context | 8k tokens |
| Runs with | transformers |
| Released | 2024-07-31 |
| Popularity | 41k downloads / month |
| Licence | Open, with conditions |
About
pip install git+https://github.com/huggingface/transformers.git
Directly quantized 4bit model with bitsandbytes.
From the published model card. Full card on the HuggingFace links in the sidebar.
Using it via the API
Once AxForge deploys gemma-2-bnb for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (gemma-2-bnb 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":"gemma-2-bnb","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.