kingabzpro / functiongemma-hermes-3k-ft

huggingface.co
Total runs: 12
24-hour runs: 0
7-day runs: 4
30-day runs: 2
Model's Last Updated: January 10 2026
text-generation

Introduction of functiongemma-hermes-3k-ft

Model Details of functiongemma-hermes-3k-ft

FunctionGemma Hermes Tool-Use (3K Fine-tuned)

This model is a fine-tuned version of Google’s FunctionGemma (270M) , trained on a curated subset of the Hermes Tool-Use dataset to improve structured function calling .

The goal of this fine-tuning is higher accuracy and reliability when selecting the correct tool and emitting a valid function call in the expected format.

🚀 What’s Improved

Evaluation was run on a held-out validation set (50 examples):

Metric Before FT After FT
Tool Selection Accuracy 88.0% 98.0%
Absolute Gain +10.0%

This shows the model learns better tool selection and call consistency , even though the base model already performs strongly.

🧠 Supported Output Format

The model emits function calls in FunctionGemma-style tags:

<start_function_call>
call:tool_name{args:<escape>{...}<escape>}
<end_function_call>

This is compatible with downstream tool execution pipelines.

📦 Installation
pip install transformers accelerate sentencepiece
🔧 Usage Example (Function Calling)
from transformers import AutoProcessor, AutoModelForCausalLM

repo_id = "kingabzpro/functiongemma-hermes-3k-ft"

processor = AutoProcessor.from_pretrained(repo_id)
model = AutoModelForCausalLM.from_pretrained(repo_id)

# Tool definition (HF function schema)
tools = [
    {
        "type": "function",
        "function": {
            "name": "billboard_global_200",
            "description": "Fetch Billboard Global 200 chart information for a specific date.",
            "parameters": {
                "type": "object",
                "properties": {
                    "date": {
                        "type": "string",
                        "description": "Date in YYYY-MM-DD format",
                        "default": "2020-09-19",
                    }
                },
                "required": ["date"],
            },
        },
    }
]

messages = [
    {
        "role": "developer",
        "content": (
            "You are a function calling AI model. "
            "Each function call must be enclosed in <tool_call> XML tags."
        ),
    },
    {
        "role": "user",
        "content": (
            "Which songs were at positions 1, 11, 21, 31, and 41 "
            "on the Billboard Global 200 chart, and who sang them?"
        ),
    },
]

inputs = processor.apply_chat_template(
    messages,
    tools=tools,
    add_generation_prompt=True,
    return_dict=True,
    return_tensors="pt",
)

inputs = {k: v.to(model.device) for k, v in inputs.items()}

outputs = model.generate(
    **inputs,
    max_new_tokens=256,
    pad_token_id=processor.eos_token_id,
)

gen = processor.decode(
    outputs[0][inputs["input_ids"].shape[-1]:],
    skip_special_tokens=True,
)

print(gen)
✅ Example Output
<start_function_call>
call:billboard_global_200{args:<escape>{"date": "2006-03-20"}<escape>}
<end_function_call>
🎯 Intended Use
  • Tool / function calling research
  • Agent systems and planners
  • Structured API invocation
  • Evaluation of tool-selection accuracy
  • Lightweight function-calling demos (CPU / small GPU friendly)
⚠️ Limitations
  • Trained on a subset (3K) of Hermes Tool-Use data
  • Focused on tool selection , not long-form reasoning
  • Not instruction-tuned for general chat beyond tool use
📜 Attribution
  • Base model: Google FunctionGemma
  • Dataset: Hermes Tool-Use
  • Fine-tuning & evaluation: kingabzpro

Runs of kingabzpro functiongemma-hermes-3k-ft on huggingface.co

12
Total runs
0
24-hour runs
0
3-day runs
4
7-day runs
2
30-day runs

More Information About functiongemma-hermes-3k-ft huggingface.co Model

More functiongemma-hermes-3k-ft license Visit here:

https://choosealicense.com/licenses/apache-2.0

functiongemma-hermes-3k-ft huggingface.co

functiongemma-hermes-3k-ft huggingface.co is an AI model on huggingface.co that provides functiongemma-hermes-3k-ft's model effect (), which can be used instantly with this kingabzpro functiongemma-hermes-3k-ft model. huggingface.co supports a free trial of the functiongemma-hermes-3k-ft model, and also provides paid use of the functiongemma-hermes-3k-ft. Support call functiongemma-hermes-3k-ft model through api, including Node.js, Python, http.

functiongemma-hermes-3k-ft huggingface.co Url

https://huggingface.co/kingabzpro/functiongemma-hermes-3k-ft

kingabzpro functiongemma-hermes-3k-ft online free

functiongemma-hermes-3k-ft huggingface.co is an online trial and call api platform, which integrates functiongemma-hermes-3k-ft's modeling effects, including api services, and provides a free online trial of functiongemma-hermes-3k-ft, you can try functiongemma-hermes-3k-ft online for free by clicking the link below.

kingabzpro functiongemma-hermes-3k-ft online free url in huggingface.co:

https://huggingface.co/kingabzpro/functiongemma-hermes-3k-ft

functiongemma-hermes-3k-ft install

functiongemma-hermes-3k-ft is an open source model from GitHub that offers a free installation service, and any user can find functiongemma-hermes-3k-ft on GitHub to install. At the same time, huggingface.co provides the effect of functiongemma-hermes-3k-ft install, users can directly use functiongemma-hermes-3k-ft installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

functiongemma-hermes-3k-ft install url in huggingface.co:

https://huggingface.co/kingabzpro/functiongemma-hermes-3k-ft

Url of functiongemma-hermes-3k-ft

functiongemma-hermes-3k-ft huggingface.co Url

Provider of functiongemma-hermes-3k-ft huggingface.co

kingabzpro
ORGANIZATIONS

Other API from kingabzpro

huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:May 19 2024