ActionGemma 2B: GGUF (run it locally)

GGUF builds of ActionGemma 2B, a Gemma 2 2B model fine-tuned for function calling. Use these files to run it on a laptop or CPU with llama.cpp, Ollama or LM Studio. No cloud API is needed, and your data stays on your machine.

Results

Compared with the base model, ActionGemma reaches 93.74% macro F1 (+7.82%), cuts hallucinated function calls from 16% to 6.7%, and uses about 17% fewer tokens. See the main model card for full results, training details and limitations.

Files

File Quantisation Size Notes
unsloth.Q4_K_M.gguf 4-bit 1.71 GB Recommended: best size/quality balance
unsloth.Q5_K_M.gguf 5-bit 1.92 GB
unsloth.Q6_K.gguf 6-bit 2.15 GB
unsloth.Q8_0.gguf 8-bit 2.78 GB near-lossless
unsloth.F16.gguf 16-bit 5.24 GB full precision

Run it

# Ollama
ollama run hf.co/dinushiTJ/action-gemma-2-2b-it-gguf:Q4_K_M

# llama.cpp
llama-cli -hf dinushiTJ/action-gemma-2-2b-it-gguf:Q4_K_M

Prompt format

The model was trained with the prompt below. Put it at the start of the first user message, with your function definitions (JSON Schema) inside the <functions> tags:

You have access to the following functions enclosed within <functions></functions> tags. Use them if required.
<functions>
{"name": "get_weather", "description": "Get the current weather in a given location",
 "parameters": {"type": "object", "properties": {"location": {"type": "string"}}, "required": ["location"]}}
</functions>

To call a function, respond using the following format:
<functioncall> {"name": "function_name", "arguments": {"arg_1": "value_1", "arg_2": "value_2", ...}} </functioncall>

If no available function matches the user request, respond politely that you cannot assist with the request.

The model replies with <functioncall> {...} </functioncall>, which is easy to parse with a regex.

Related

Use of this model is subject to the Gemma Terms of Use. Author: Dinushi Jayasinghe.

Downloads last month
296
GGUF
Model size
3B params
Architecture
gemma2
Hardware compatibility
Log In to add your hardware

4-bit

5-bit

6-bit

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for dinushiTJ/action-gemma-2-2b-it-gguf

Quantized
(1)
this model

Dataset used to train dinushiTJ/action-gemma-2-2b-it-gguf

Collection including dinushiTJ/action-gemma-2-2b-it-gguf