Downloads Β· 30 days
15
5% of all-time downloads
0x3/functiongemma-finetuned-g1-multilingual
functiongemma-finetuned-g1-multilingual is a text generation model from 0x3. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
A fine-tuned FunctionGemma 270M model that converts natural language into structured robot action and emotion function calls. Supports 6 languages with 98% accuracy at ~59ms on NVIDIA Jetson AGX Thor.
Downloads Β· 30 days
15
5% of all-time downloads
All-time downloads
290
Public
Parameters
268M
570 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors536 MB Β· 94%
From the Hugging Face model README
A fine-tuned FunctionGemma 270M model that converts natural language into structured robot action and emotion function calls. Supports 6 languages with 98% accuracy at ~59ms on NVIDIA Jetson AGX Thor.
π¬π§ English Β· π¨π³ δΈζ Β· π―π΅ ζ₯ζ¬θͺ Β· π«π· FranΓ§ais Β· π©πͺ Deutsch Β· πͺπΈ EspaΓ±ol
Input: "Can you shake hands with me?" β robot_action(shake_hand) + show_emotion(happy)
Input: "θ·ζζ‘ζ" β robot_action(shake_hand) + show_emotion(happy)
Input: "ζ‘ζγγ¦γγ γγ" β robot_action(shake_hand) + show_emotion(happy)
Input: "Serrez-moi la main" β robot_action(shake_hand) + show_emotion(happy)
Input: "Gib mir die Hand" β robot_action(shake_hand) + show_emotion(happy)
Input: "Dame la mano" β robot_action(shake_hand) + show_emotion(happy)
Input: "ζδ»ε€©εΏζ
δΈε₯½" β robot_action(stand_still) + show_emotion(sad)
Input: "γγγ―δ½γ§γγοΌ" β robot_action(stand_still) + show_emotion(confused)
Input: "Raconte-moi une blague" β robot_action(stand_still) + show_emotion(think)
| Action | Description |
|---|---|
shake_hand | Handshake gesture |
face_wave | Wave hello / goodbye |
hands_up | Raise both hands |
stand_still | Stay idle (default for general conversation) |
show_hand | Show open hand / present card for payment |
do_payment | Do the payment / do the payment |
down_payment | Finished the payment |
| Emotion | Animation |
|---|---|
happy | Happy.riv |
sad | Sad.riv |
excited | Excited.riv |
confused | Confused.riv |
curious | Curious.riv |
think | Think.riv |
Constrained decoding uses 2 forward passes instead of 33 autoregressive steps, achieving ~18x speedup over standard model.generate().
| Parameter | Value |
|---|---|
| Base model | google/functiongemma-270m-it |
| Method | LoRA (rank 8, alpha 16) |
| Training data | ~6,000 examples (545 English + ~5,450 multilingual) |
| Languages | English, Chinese, Japanese, French, German, Spanish |
| Epochs | 3 |
| Learning rate | 2e-4 |
| Batch size | 4 (effective 16 with gradient accumulation) |
| Max sequence length | 512 |
| Precision | bf16 |
| Hardware | NVIDIA RTX 5070 Ti (16 GB) |
Multilingual training data was generated using Claude API β 2 natural phrasings per language per English prompt, resulting in diverse and natural expressions rather than literal translations.
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch
model = AutoModelForCausalLM.from_pretrained(
"OpenmindAGI/functiongemma-finetuned-g1-multilingual",
torch_dtype=torch.bfloat16,
device_map="auto",
)
tokenizer = AutoTokenizer.from_pretrained("OpenmindAGI/functiongemma-finetuned-g1-multilingual")
model.eval()
@misc{openmindagi-functiongemma-multilingual,
title={FunctionGemma Robot Actions (Multilingual)},
author={OpenmindAGI},
year={2025},
url={https://huggingface.co/OpenmindAGI/functiongemma-finetuned-g1-multilingual}
}
Fine-tuned from google/functiongemma-270m-it under Apache 2.0.