初始化项目,由ModelHub XC社区提供模型
Model: ps1x/ha-russian-function-gemma Source: Original Platform
This commit is contained in:
35
README.md
Normal file
35
README.md
Normal file
@@ -0,0 +1,35 @@
|
||||
---
|
||||
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.
|
||||
Reference in New Issue
Block a user