36 lines
1.0 KiB
Markdown
36 lines
1.0 KiB
Markdown
|
|
---
|
||
|
|
base_model: google/functiongemma-270m-it
|
||
|
|
language:
|
||
|
|
- ru
|
||
|
|
library_name: transformers
|
||
|
|
tags:
|
||
|
|
- function-calling
|
||
|
|
- home-assistant
|
||
|
|
- gemma
|
||
|
|
- russian
|
||
|
|
- tool-use
|
||
|
|
license: gemma
|
||
|
|
---
|
||
|
|
|
||
|
|
# ha-russian-function-gemma
|
||
|
|
|
||
|
|
A specialized fine-tuned version of `google/functiongemma-270m-it` designed for direct, telegraphic Russian home automation commands.
|
||
|
|
|
||
|
|
## Model Details
|
||
|
|
- **Architecture:** Gemma-2
|
||
|
|
- **Parameters:** 270M
|
||
|
|
- **Fine-tuning Focus:** Russian Language, Short/Telegraphic commands, Home Assistant Tool Calling.
|
||
|
|
- **Tools Supported:** `set_device_state`, `set_device_value`, `get_device_status`.
|
||
|
|
|
||
|
|
## Usage Pattern
|
||
|
|
The model expects a `developer` role containing the tool definitions and a `user` role with telegraphic Russian.
|
||
|
|
|
||
|
|
**Input Example:**
|
||
|
|
"включи свет полки"
|
||
|
|
|
||
|
|
**Expected Output:**
|
||
|
|
`<start_function_call>call:set_device_state{entity_id: "light.shelves", service: "turn_on"}<end_function_call>`
|
||
|
|
|
||
|
|
## Training Data
|
||
|
|
Fine-tuned on a custom dataset of ~1400 Russian home automation scenarios spanning climate, lighting, and sensor queries.
|