/ Модель

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

Лицензия
Apache 2.0
Архитектура
gemma4 · dense
Базовая модель
gemma-4-26B-A4B-it-qat-q4_0-unquantized
Библиотека
transformers
Опубликована
8 окт 2026

LunaraHome-26B-A4B

Генерация текстаТекст → текст3 профессии

Экспериментальная немецкоязычная модель на базе Gemma 4, которая преобразует запросы об умном доме в вызовы инструментов Home Assistant и Music Assistant.

455скачиваний за 30 дней0лайковвеса обновлены27 ноя 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

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

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

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

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

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

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

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

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

LunaraHome 26B-A4B — экспериментальная немецкоязычная модель для голосовых ассистентов умного дома на базе Gemma 4, разработанная автором репозитория Maxinger15. Она предназначена для работы с Home Assistant и Music Assistant: получает описание доступных устройств, комнат и инструментов, понимает бытовые запросы, выбирает подходящие инструменты и формирует структурированные вызовы для интеграции. Обучение также включает английские примеры вызова функций. Модель представляет собой дообучение Gemma 4 26B-A4B с помощью LoRA по текстовым attention-проекциям Q/V; опубликованный вариант v0.1 — объединённый с базой чекпойнт в формате BF16. Репозиторий предоставляет веса safetensors для Transformers. Базовая Gemma 4 поддерживает анализ изображений, однако зрительные компоненты этой версии не адаптировались, и README не подтверждает её пригодность для визуальных задач.

В собственном benchmark разработчика модель набрала 93,75% на задачах вызова инструментов, но тестовые данные и полные ответы не опубликованы и не являются независимой проверкой. Выявлены ошибки, связанные с безопасностью управления устройствами и проверкой их состояния, а также повторы и незавершённые ответы; автор не рекомендует использовать эту версию для автономного управления. Нужные инструменты и защитные проверки должна обеспечивать интеграция. Лицензия репозитория — Apache-2.0, однако README отмечает неясность коммерческих прав на часть обучающих данных, поэтому лицензия не подтверждает автоматически права на все данные происхождения модели.

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

  • голосовое управление освещением и другими устройствами Home Assistant
  • определение комнаты и устройств по бытовому запросу
  • проверка состояния устройств и поиск включённого света
  • управление воспроизведением музыки через Music Assistant
  • уточняющие вопросы при неоднозначном выборе устройства

Ограничения

Экспериментальная версия допускала опасные ошибки управления, включая действия без требуемого подтверждения и без повторной проверки состояния; разработчик не одобряет её для автономного контроля устройств. Benchmark разработчика не является независимой оценкой, а коммерческие права на часть обучающих данных остаются неясными.

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

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

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

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

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

Открыть на Hugging Face

🌙 LunaraHome 26B-A4B · v0.1

Talk to your home. LunaraHome connects natural language to your smart home tools.

"Make the living room light a bit warmer." "Is music still playing in the bedroom?" A voice assistant should understand requests like these, pick the right devices from the inventory it is given, and turn them into structured tool calls. That is what we are building LunaraHome for: a German-first Home Assistant and Music Assistant fine-tune of Gemma 4, open for anyone to try and build on.

The first release reaches 93.75% on our own tool development benchmark. Training combines smart home language, general function calling, conversational examples and varying synthetic device inventories, so that LunaraHome is meant to be useful beyond a single household.

Download the model · License and provenance

💬 Stay up to date: join our Discord for new releases, progress updates and feedback on LunaraHome.

What LunaraHome is for

LunaraHome is aimed at people who build their own voice assistant around Home Assistant or want to experiment with local language models and tools. The model receives the available devices, rooms and tools as context; your integration executes the calls it produces.

The focus is on everyday German phrasing, choosing the right devices and rooms, state queries, music control and structured function calls. Asking follow-up questions when the target is unclear and handling false triggers sensibly are also training goals. English tool and replay examples complement the German focus.

Typical requests LunaraHome was trained for (shown in English here; the training focus is German):

"Turn on the floor lamp in the living room."

"Are any lights still on downstairs?"

"Play music in the bedroom."

"Turn off the light." — when several devices match, a follow-up question is desired.

These are usage examples, not recorded model outputs. For additional music, history or other project tools, your integration has to actually provide those tools.

Our benchmark results

We evaluated the v3 starting adapter and LunaraHome v0.1 on the same pinned development inputs. The comparison shows what the continued training changed relative to the already-trained starting point.

Own development benchmark: tool calls 732→750 of 800; text decision 199→196 of 200; silence 104→104 of 104; real false triggers 50→50 of 50; general exact text score 72→70 of 160; multiple-choice retention 416→404 of 512.

On tools, 26 improvements are offset by eight regressions: a net gain of 18 cases, or 2.25 percentage points. The 100% values each refer to the case counts listed above.

This is our own development benchmark. The figure contains our measured results; inputs and full outputs are private for now. The published numbers were recomputed after re-download and come from the adapter evaluation before the BF16 export; the full benchmark was not re-run on the merged export. Exact text score and multiple-choice retention measure different things and are not a general intelligence score.

The model behind LunaraHome

PropertyDetails
BaseGemma 4 26B-A4B QAT unquantized
AdaptationText attention Q/V LoRA, rank 8, alpha 16
Trained adapter parameters2,795,520
LanguagesGerman as the focus, English as a complement
FormatNative Gemma chat template, thinking disabled
PackageFully merged BF16 model, a single model.safetensors
Training sequence lengthUp to 6,144 tokens

The v3 data base contains 18,815 training rows from the existing smart home corpus and curated public sources. These include Home Assistant Requests V2 and V5 Native, the official HA intents, MASSIVE, xLAM, ToolACE, Glaive and OpenAssistant; the adapter line also contains older Hermes data. All sources and revisions.

For the subsequent v3.1 continuation, 2,400 new synthetic inventory variants were mixed with 2,400 replay examples from the broader data set. This mix is meant to cover new device and room contexts while preserving existing abilities. Training ran for 600 steps at learning rate 5e-5 and effective batch size 8, with a freshly initialised optimizer and scheduler. v0.1 publishes this checkpoint as a BF16 model merged with the base. The merge involves no further training. Vision and MoE experts were not adapted.

Getting started

The repository contains the full model as a single model.safetensors of 51.61 GB. You can load it directly with Transformers; no separate base download or PEFT adapter is needed. The tag v0.1-bf16 pins the verified export. The original LoRA adapter remains available under the unchanged tag v0.1.

Verified export environment: Transformers 5.17.0 and PyTorch 2.8.0. The large BF16 weights need enough RAM or VRAM and disk space.

import torch
from transformers import AutoTokenizer, Gemma4ForConditionalGeneration

repo = "Maxinger15/LunaraHome-26B-A4B"
revision = "v0.1-bf16"
tokenizer = AutoTokenizer.from_pretrained(repo, revision=revision)
model = Gemma4ForConditionalGeneration.from_pretrained(
    repo, revision=revision,
    dtype=torch.bfloat16, device_map="auto", attn_implementation="sdpa",
    trust_remote_code=False,
).eval()
inputs = tokenizer.apply_chat_template(
    [{"role": "user", "content": "Hallo, was kannst du?"}],
    add_generation_prompt=True, enable_thinking=False,
    tokenize=True, return_dict=True, return_tensors="pt",
).to(model.device)
with torch.inference_mode():
    output = model.generate(**inputs, max_new_tokens=128, do_sample=False)
print(tokenizer.decode(output[0, inputs["input_ids"].shape[-1]:],
                       skip_special_tokens=False))

For Home Assistant, additionally pass the real system prompt, the exposed inventory and the offered tools via tools=... in the chat template. The training reference reflects Home Assistant 2026.9.3. Keep the native tool markers when parsing and let your integration execute the tools. The chat response alone does not trigger any device action.

The separate Q4 GGUF version is now available: Q4_0 at 14.62 GB, with an embedded chat template and an optional Q8_0 image projector. CPU loading was verified in llama.cpp; the benchmark numbers above still come from the adapter evaluation before quantization. Release pins and weight checksums.

License

The full model contains the Gemma base under Apache 2.0. Our own adapter contributions and release documents remain under MIT, to the extent the publisher holds the relevant rights. The tokenizer and chat template also remain Apache 2.0. The training sources keep their respective licenses; attribution, revisions and license texts are in the third-party notices.

LunaraHome is an independent community fine-tune and not an official product of Google, Home Assistant, Music Assistant or the data providers.

Status of the first release and known limitations

v0.1 is an experimental first release. The measured tool improvement is a good starting point; more work remains on safety and on preserving general abilities. Multiple-choice retention dropped from 81.25% to 78.91% in the comparison. Together with new safety errors, our diagnostic gate therefore rates this checkpoint as rejected.

The evaluation showed opening instead of unlocking, disarming an alarm without the required confirmation, starting irrigation without re-reading state first, and a PowerToggle with an unknown TV state. Some general answers repeated themselves or hit the token limit without finishing normally. This version is not approved for unattended device control. Target binding, arguments, state checks and confirmations must be safeguarded outside the model.

The development inputs were used repeatedly; their error families also influenced the continued training. The results are therefore not independent evidence for new households. The reserved confirmation test was not used. For the BF16 export, the single file, a standalone CPU reload without PEFT and a short free-form generation were checked. This does not replace a new quality evaluation. No new GPU inference, AMD, image or live HA testing was performed.

For xLAM, the dataset card states CC BY 4.0 but also contains a research notice. Its legal scope remains unclear; the exact wording is preserved. MIT is therefore not a blanket assurance that the commercial rights of the training provenance have been cleared. Raw datasets and private home exports are not distributed here.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей