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?

