FunctionGemma: How to Run & Fine-tune
Learn how to run and fine-tune FunctionGemma locally on your device and phone.
⚙️ Usage Guide
def get_today_date():
""" Gets today's date """
return {"today_date": "18 December 2025"}
tokenizer.apply_chat_template(
[
{"role" : "user", "content" : "what is today's date?"},
],
tools = [get_today_date], add_generation_prompt = True, tokenize = False,
)FunctionGemma chat template format:
🖥️ Run FunctionGemma
Llama.cpp Tutorial (GGUF):
1
2
3
4
📱 Phone Deployment
🦥 Fine-tuning FunctionGemma
Turn Type
Content
🪗Fine-tuning FunctionGemma for Mobile Actions

🏃♂️Multi Turn Tool Calling with FunctionGemma

Last updated
Was this helpful?

