Selora AI LLM 14B

Qwen3 14B fine-tuned for Home Assistant as one model covering all five Selora response types (command, automation, answer, clarification, utilities). It picks the type itself from the router prompt in system. Needs about 16 GB of memory, and runs anywhere a single GGUF does: llama.cpp, Ollama, and the Home Assistant integration.

It is one LoRA adapter trained on every response type's examples under that router prompt, merged into the base.

Up to v0.8.1 it also shipped as a base plus five specialist LoRAs swapped per request, in selorahomes/Selora-AI-LLM-14B. That bundle is retired; that repo stays as it was at v0.8.1.

Measured on the Allen benchmark through the Home Assistant integration's Ollama backend, at temperature 0, on the full datasets:

dataset cases model only with overrides
assist 460 85.9% 90.2%
assist-mini 196 95.9% 100.0%
questions 370 94.6% 94.6%
automations 20 100.0% 100.0%

Model only switches the integration's deterministic overrides off, so every turn is decided by the model; with overrides has them on. Neither is exactly the shipped configuration: approval and the safe-command allowlist are off for the run. The runs used this repo's system prompt, which lets the model answer a blueprint request with YAML. An automations reply passes if Home Assistant accepts it as an automation blueprint with every requested input wired; the automation is not run.

Quick start

ollama run hf.co/selorahomes/Selora-AI-LLM-14B-ollama:selora-ollama.Q5_K_S.gguf

The filename tag is deliberate. Hugging Face's Ollama integration selects Q4_K_M when present and otherwise picks a reasonable quant from the repo; naming the file removes the guess.

Or build it yourself from the Modelfile in this repo:

ollama create selora-14b -f Modelfile
ollama run selora-14b

The system, template and params files at the repo root configure the same thing for ollama run hf.co/โ€ฆ directly.

Prompt format

ChatML, with /no_think prefixed to the user turn to suppress Qwen3's reasoning block so the output is bare JSON. Inference must match training byte-for-byte; template in this repo is the authoritative form.

<|im_start|>system
{system}<|im_end|>
<|im_start|>user
/no_think {prompt}<|im_end|>
<|im_start|>assistant
<think>

</think>

The empty <think></think> block is part of the prompt, not the output. Training includes it (masked), so the template must emit it. Ollama renders the chat template embedded in the GGUF rather than template, and that one always emits it, with or without --think=false. Without it the model generates as though the JSON's opening {" had already been written and returns q=[...] instead of {"q":[...]}, which no parser accepts.

The user turn carries the AVAILABLE ENTITIES list, EXISTING AUTOMATIONS, and โ€” for utilities questions โ€” a RELEVANT DOCS block. The model replies with exactly one JSON object, of whichever of the five types it picked. Context is 4096 tokens.

Generation parameters

Set by params / the Modelfile:

temperature    0.0
repeat_penalty 1.0
repeat_last_n  256
num_ctx        4096
stop           <|im_end|>, <|endoftext|>

repeat_penalty stays at 1.0 on purpose. JSON output is mostly repeated structural tokens, and penalising them degrades schema fidelity.

Files

Artifact Purpose
selora-ollama.Q5_K_S.gguf The model, Q5_K_S, 10.3 GB (9.6 GiB)
Modelfile Ollama recipe (model + router prompt + params)
system Router system prompt
template Go chat template
params Sampler settings
manifest.json Version, checksum, provenance
LICENSE / NOTICE Apache 2.0 text and the Qwen3 attribution

Modelfile, system, template and params are generated from the models repo โ€” data-pipeline/prompts/router_system_prompt.txt is the source of truth for the system prompt. Don't edit them here; they are overwritten on every release.

Versioning

main is the latest release, and each release is also tagged v<x.y.z>; manifest.json carries the version.

License

Apache 2.0, inheriting Qwen3-14B.

Downloads last month
668
GGUF
Model size
15B params
Architecture
qwen3
Hardware compatibility
Log In to add your hardware

5-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for selorahomes/Selora-AI-LLM-14B-ollama

Finetuned
Qwen/Qwen3-14B
Quantized
(246)
this model