🌙 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.

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
| Property | Details |
|---|---|
| Base | Gemma 4 26B-A4B QAT unquantized |
| Adaptation | Text attention Q/V LoRA, rank 8, alpha 16 |
| Trained adapter parameters | 2,795,520 |
| Languages | German as the focus, English as a complement |
| Format | Native Gemma chat template, thinking disabled |
| Package | Fully merged BF16 model, a single model.safetensors |
| Training sequence length | Up 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.