/ Модель

Характеристики

Контекст
40 960 токенов
Параметры
508 млн
Лицензия
Apache 2.0
Архитектура
qwen3 · dense
Базовая модель
Qwen3-0.6B
Библиотека
transformers
Опубликована
14 фев 2026

distil-home-assistant-qwen3

Генерация текстаТекст → текст3 профессии
135скачиваний за 30 дней2лайкавеса обновлены14 фев 2026

Описание модели

Составлено на русском по карточке модели и метаданным Hugging Face

Компактная дообученная Qwen3-модель для распознавания английских команд умного дома и генерации структурированных вызовов функций.

Distil-Home-Assistant-Qwen3 — дообученная Distil Labs компактная языковая модель на архитектуре Qwen3ForCausalLM с 507,9 млн параметров. Она принимает текстовую команду и историю диалога и генерирует структурированный вызов функции для управления умным домом. Модель рассчитана на многоходовую классификацию намерений и извлечение параметров для шести поддерживаемых операций умного дома; её можно запускать локально на устройстве или в локальном хабе для управления с низкой задержкой.

В карточке заявлены точность вызова инструментов 96,7% и ROUGE 99,2% на оценке разработчика; это выше приведённых результатов модели-учителя GPT-oss-120B. Обучение включало дистилляцию синтетических примеров от модели-учителя и дообучение Qwen3-0.6B. Модель предназначена для ограниченного набора английских команд умного дома, а не для общего использования инструментов. Возможны ошибки вызовов; диапазон температуры ограничен 60–80 °F. Лицензия — Apache-2.0.

Сценарии применения

  • локальная обработка многоходовых команд управления умным домом
  • определение намерения пользователя для маршрутизации команды умному хабу
  • извлечение комнаты, температуры и других параметров из команды
  • генерация вызова функции для управления светом, термостатом и замком
  • создание англоязычного текстового чат-бота для умного дома

Ограничения

Обучена только на англоязычных намерениях и охватывает шесть заданных функций умного дома; точность вызова инструментов 96,7% допускает ошибки. Диапазон температуры ограничен 60–80 °F.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Бенчмарки пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь рядом с другими моделями теста

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Distil-Home-Assistant-Qwen3

A fine-tuned Qwen3-0.6B model for multi-turn intent classification and slot extraction in an on-device smart home controller. Trained using knowledge distillation from a 120B teacher model, this 0.6B model delivers 96.7% tool call accuracy — exceeding the teacher — while running locally on-device for private, low-latency smart home control.

For the GGUF version (for llama.cpp / Ollama deployment), see distil-labs/distil-home-assistant-qwen3-gguf.

Results

ModelParametersTool Call AccuracyROUGE
GPT-oss-120B (teacher)120B94.1%98.2%
This model (tuned)0.6B96.7%99.2%
Qwen3-0.6B (base)0.6B——

The fine-tuned model exceeds the 120B teacher on tool call accuracy while being 200x smaller. Fine-tuning is essential for reliable multi-turn smart home conversations.

Quick Start

Using Transformers

import json
from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained("distil-labs/distil-home-assistant-qwen3")
tokenizer = AutoTokenizer.from_pretrained("distil-labs/distil-home-assistant-qwen3")

TOOLS = [
    {"type": "function", "function": {"name": "toggle_lights", "description": "Turn lights on or off in a specified room", "parameters": {"type": "object", "properties": {"room": {"type": "string", "enum": ["living_room", "bedroom", "kitchen", "bathroom", "office", "hallway"]}, "state": {"type": "string", "enum": ["on", "off"]}}, "required": [], "additionalProperties": False}}},
    {"type": "function", "function": {"name": "set_thermostat", "description": "Set the temperature for heating or cooling", "parameters": {"type": "object", "properties": {"temperature": {"type": "integer", "minimum": 60, "maximum": 80}, "mode": {"type": "string", "enum": ["heat", "cool", "auto"]}}, "required": [], "additionalProperties": False}}},
    {"type": "function", "function": {"name": "lock_door", "description": "Lock or unlock a door", "parameters": {"type": "object", "properties": {"door": {"type": "string", "enum": ["front", "back", "garage", "side"]}, "state": {"type": "string", "enum": ["lock", "unlock"]}}, "required": [], "additionalProperties": False}}},
    {"type": "function", "function": {"name": "get_device_status", "description": "Query the current state of a device or room", "parameters": {"type": "object", "properties": {"device_type": {"type": "string", "enum": ["lights", "thermostat", "door", "all"]}, "room": {"type": "string"}}, "required": [], "additionalProperties": False}}},
    {"type": "function", "function": {"name": "set_scene", "description": "Activate a predefined scene", "parameters": {"type": "object", "properties": {"scene": {"type": "string", "enum": ["movie_night", "bedtime", "morning", "away", "party"]}}, "required": [], "additionalProperties": False}}},
    {"type": "function", "function": {"name": "intent_unclear", "description": "Use when the user's intent cannot be determined", "parameters": {"type": "object", "properties": {"reason": {"type": "string", "enum": ["ambiguous", "off_topic", "incomplete", "unsupported_device"]}}, "required": [], "additionalProperties": False}}},
]

messages = [
    {"role": "system", "content": "You are a tool-calling model working on:\n<task_description>You are an on-device smart home controller. Given a natural language command from the user, call the appropriate smart home function. If the user does not specify a required value (e.g. which room or what temperature), omit that parameter from the function call. Maintain context across conversation turns to resolve pronouns and sequential commands.</task_description>\n\nRespond to the conversation history by generating an appropriate tool call that satisfies the user request. Generate only the tool call according to the provided tool schema, do not generate anything else. Always respond with a tool call.\n\n"},
    {"role": "user", "content": "Turn off the living room lights"},
]

text = tokenizer.apply_chat_template(
    messages, tools=TOOLS, tokenize=False, add_generation_prompt=True,
    enable_thinking=False,
)
inputs = tokenizer(text, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=256, temperature=0)
print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:], skip_special_tokens=True))
# <tool_call>
# {"name": "toggle_lights", "arguments": {"room": "living_room", "state": "off"}}
# </tool_call>

Using Ollama

huggingface-cli download distil-labs/distil-home-assistant-qwen3 --local-dir distil-model
cd distil-model
ollama create distil-home-assistant -f Modelfile
ollama run distil-home-assistant

Using with the Demo App

This model powers the Smart Home Controller demo — a text-based orchestrator that pairs an SLM with deterministic dialogue management for smart home control.

Model Details

PropertyValue
Base ModelQwen/Qwen3-0.6B
Parameters0.6 billion
ArchitectureQwen3ForCausalLM
Context Length40,960 tokens
Precisionbfloat16
Training Data50 seed conversations, synthetically expanded
Teacher ModelGPT-oss-120B
TaskMulti-turn tool calling (closed book)

Training

This model was trained using the Distil Labs platform:

  1. Seed Data: 50 hand-written multi-turn conversations covering 6 smart home functions with 2-5 user turns per conversation
  2. Synthetic Expansion: Expanded to thousands of examples using a 120B teacher model
  3. Fine-tuning: Multi-turn tool calling distillation on Qwen3-0.6B

What the Model Does

The model acts as a function caller for a smart home controller. Given a user command and conversation history, it outputs a structured tool call:

User: "Turn off the living room lights"
Model: {"name": "toggle_lights", "arguments": {"room": "living_room", "state": "off"}}

User: "The kitchen too"
Model: {"name": "toggle_lights", "arguments": {"room": "kitchen", "state": "off"}}

User: "Lock the front door"
Model: {"name": "lock_door", "arguments": {"door": "front", "state": "lock"}}

User: "Can you order me a pizza?"
Model: {"name": "intent_unclear", "arguments": {"reason": "off_topic"}}

Supported Functions

The model handles 6 smart home operations:

FunctionDescription
toggle_lightsTurn lights on or off in a room
set_thermostatSet temperature and heating/cooling mode
lock_doorLock or unlock a door
get_device_statusQuery device state
set_sceneActivate a predefined scene
intent_unclearCannot determine intent

Use Cases

  • On-device smart home controllers with privacy-first design
  • Text-based smart home chatbots with structured intent routing
  • Edge deployment for local smart home hubs
  • Any multi-turn tool calling task with bounded intent taxonomy

Limitations

  • Trained on English smart home intents only
  • Covers 6 specific smart home functions — not a general-purpose tool caller
  • 96.7% accuracy means a small fraction of function calls may be incorrect
  • Temperature range is fixed to 60-80°F

License

This model is released under the Apache 2.0 license.

Links

Citation

@misc{distil-home-assistant-qwen3,
  author = {Distil Labs},
  title = {Distil-Home-Assistant-Qwen3: A Fine-tuned SLM for Smart Home Control},
  year = {2025},
  publisher = {Hugging Face},
  url = {https://huggingface.co/distil-labs/distil-home-assistant-qwen3}
}

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Можно запустить

Подбираем GPU…

Класс архитектуры
Qwen3ForCausalLM
Ревизия весов
c9bfbd9

0 моделей