Actuate-Spark-X2.6-4B
A 4B brain for phone voice agents, tuned to make the right tool calls and answer in one short, speakable sentence. Fine-tuned from XHToken/Spark-X2.6-4B. 7.7 GB in bf16, fits a 24 GB card.
| Base Spark-X2.6-4B | Actuate | |
|---|---|---|
| Tool-call F1 | 27 | 36.7 |
| Judged correct | 54.8% | 61.9% |
| Speakable replies | 75.3% | 91.4% |
| Time to a complete action (L40S, p50) | 509 ms | 408 ms |

What it is
Actuate models are the brain of a phone voice agent. A full-duplex speech model listens and talks; on every caller turn the brain decides which business tool to call (look up a customer, check availability, book, cancel, transfer...) and then says one or two short sentences that can be read aloud. It is trained to take names, times, prices and IDs from tool results; the tables below show how often it still slips.
caller audio ─▶ speech front-end (ASR / duplex model) ─▶ Actuate brain ─▶ tool calls ─▶ your backend
▲ │
└──── short spoken reply ◀┘
Benchmark
91 test turns from 35 held-out calls to 13 businesses (72 of the turns come from businesses never seen in training), each scored twice: as written and as heard through real speech recognition (83 noisy copies), so 174 scored items. Same prompts, same GPU (L40S) and same serving engine (SGLang) for every row. The judge columns cover a fixed 42 of the 174 items, the same for every row: with that few, differences under about 7 points are noise.
| Judged correct | Hallucination ↓ | Tool-call F1 | Right action | Missed calls ↓ | Invalid calls ↓ | Speakable reply | Words per reply ↓ | |
|---|---|---|---|---|---|---|---|---|
| Base Spark-X2.6-4B | 54.8 | 7.1 | 27 | 68.4 | 44.8 | 7.4 | 75.3 | 39.3 |
| Actuate v2 | 61.9 | 2.4 | 30.5 | 64.4 | 57.5 | 6.7 | 97.7 | 30 |
| Actuate v3 | 57.1 | 2.4 | 38.1 | 70.7 | 35.6 | 11.3 | 81.6 | 28.3 |
| Actuate v4 (this repo) | 61.9 | 11.9 | 36.7 | 67.2 | 44.8 | 13 | 91.4 | 33.3 |

How the default was chosen. Versions were compared on this same test set, so the chosen version's scores are slightly optimistic; a larger fresh test set is being built.
Why v4 is the default. v4 has the best balance for a tool-using agent: tool-call F1 27 → 36.7,
judged correct as often as v2, and 91.4% speakable replies. Its trade-off: on the 42 judged turns it hallucinated
in 11.9% of them (v2: 2.4%), and 13% of its calls fail the schema. Validate tool arguments before
running them. If you want the most conservative talker, use the v2 adapter in adapters/.
On a 24 GB card (NVIDIA L4, bf16): first token 81 ms, complete action 1142 ms p50 / 2144 ms p95.
Use it
Write the system prompt the same way (business facts + policies + today's date + calendar line) and pass your tools as OpenAI-style JSON Schema. Thinking off, temperature 0.
from transformers import AutoTokenizer, AutoModelForCausalLM
from huggingface_hub import hf_hub_download
import importlib.util, torch
repo = "srinath-exe/Actuate-Spark-X2.6-4B"
tok = AutoTokenizer.from_pretrained(repo, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(repo, trust_remote_code=True, torch_dtype=torch.bfloat16, device_map="auto")
system = """You are Maya, the voice agent answering phone calls for Bright Smile Dental (dental clinic, Austin, TX). Today is Monday 30 November 2026, 17:40 local time. Calendar: Mon 30 Nov (today), Tue 01 Dec, Wed 02 Dec, Thu 03 Dec, Fri 04 Dec, Sat 05 Dec, Sun 06 Dec, Mon 07 Dec, Tue 08 Dec, Wed 09 Dec, Thu 10 Dec, Fri 11 Dec, Sat 12 Dec, Sun 13 Dec.
The caller's words come from speech recognition and may contain errors: interpret them sensibly, and confirm names, numbers or dates you are unsure of.
- Use the tools for anything about customers, availability, bookings, orders or facts. Never invent data, ids, prices or times.
- Follow the business policies below. Ask for one missing detail at a time. Confirm before irreversible actions (cancelling, charging).
- Speak in one or two short, natural sentences: your words are read aloud. No lists, no markdown, no emojis. Say dates, times and prices naturally.
- If a request is out of scope or against policy, say so briefly and offer the closest help or a transfer to a person.
Business facts and policies:
Open Mon-Fri 8:00-17:00, Sat 9:00-13:00. Cleaning 60 min, $120 without insurance. New patients need name, phone and date of birth."""
tools = [{"type": "function", "function": {"name": "find_patient", "description": "Find a patient by phone or name",
"parameters": {"type": "object", "properties": {"phone": {"type": "string"}, "name": {"type": "string"}}}}},
{"type": "function", "function": {"name": "check_availability", "description": "Free slots for a service on a date",
"parameters": {"type": "object", "properties": {"service": {"type": "string"}, "date": {"type": "string", "description": "YYYY-MM-DD"}},
"required": ["service", "date"]}}}]
messages = [{"role": "system", "content": system},
{"role": "user", "content": "hi yeah can I get a cleaning this saturday morning, it's maria lopez"}]
ids = tok.apply_chat_template(messages, tools=tools, add_generation_prompt=True, return_tensors="pt", enable_thinking=False).to(model.device)
out = model.generate(ids, max_new_tokens=200, do_sample=False)
raw = tok.decode(out[0, ids.shape[1]:], skip_special_tokens=False)
# tool calls + the sentence to speak
spec = importlib.util.spec_from_file_location("sp", hf_hub_download(repo, "actuate_parse.py"))
sp = importlib.util.module_from_spec(spec); spec.loader.exec_module(sp)
print(sp.parse("spark", raw))
Run the calls against your backend, append the results as tool messages, and generate again: the next turn is either more
calls or the spoken reply.
Serving: SGLang (python -m sglang.launch_server --model-path srinath-exe/Actuate-Spark-X2.6-4B --trust-remote-code) and send the rendered prompt to
/v1/completions; this is how it was benchmarked (vLLM has no Spark architecture yet). Training used transformers 4.57.1.
How it was made
Data (synthetic, executed, judged).
- 44 realistic businesses in 18 countries (dental clinics, salons, garages, restaurants, utilities, passport services...), each with a job card, mock database tables and 5–12 tools as JSON Schema: 428 tools in total. Every tool call in every conversation is actually executed against that business's mock database, so results are real, not imagined.
- Simulated phone calls: a caller model plays a persona with a goal, a twist and a speaking style (hesitant, fast, non-native, angry...). Teacher models answer as the agent with native tool calling: Step 5 preview, Nemotron 3.5 Super, Nemotron 3 Ultra, GLM 5.3 flash, MiniMax M3.1 flash.
- 11 scenario types: straight request, missing info, correction, unavailable slot, ambiguous, multi-intent (parallel calls), identity check, look-up of an existing booking, out of scope, angry or confused caller, info only.
- Every agent turn is graded by a judge from a different model family than the teacher. A call is kept only up to its first bad turn. Plus code checks: under 55 words, no markdown, no emoji.
- Real speech-recognition noise: caller lines were spoken by NVIDIA Magpie TTS (six voices, added phone-line noise) and transcribed back by Parakeet ASR; lines were kept only if digits and names survived.
-
- When2Call (CC-BY-4.0) examples that teach when not to call a tool.
- A two-week calendar line in the system prompt ("Calendar: Mon 30 Nov (today), Tue 01 Dec, ...") turns "this Saturday" into a lookup instead of date arithmetic.
Training. LoRA on all linear layers, each model in its own native chat template and tool-call format (thinking off), loss only on the agent's messages (tool calls and spoken replies), AdamW + cosine, 3 epochs. The whole project, every version of all three models, cost about $12 of GPU time (data generation ran on a free API).
Benchmark. 15% of the businesses are held out entirely (never seen in training, so their tools are new). The benchmark turns come from separate held-out calls; each turn is replayed with the real tool results, and the model may take several tool rounds before speaking. Metrics:
- Judged correct / hallucination: an LLM judge (Nemotron 3.5 Super 120B, the same judge for every model) grades the final spoken reply against the tool results and the business facts.
- Tool-call F1: a call counts only if its name and every argument match the verified reference after normalisation. This is strict: looking a customer up by phone instead of by name counts as wrong, so the judge column matters more.
- Right action: called a tool when one was needed, and only then. Invalid: unknown tool or arguments that fail the schema.
- Speakable: one or two sentences, under 55 words, no lists, markdown or emoji.
Files
model-0000*-of-00002.safetensors+ config + tokenizer + modeling code: v4 merged into the base weights (bf16).adapters/spark-vt1 … vt4: every LoRA adapter (r 32, all linear layers).actuate_parse.py: splits the raw output into tool calls and the sentence to speak.assets/: benchmark charts.
Limitations
- Synthetic data: realistic, judged and executed, but not real customer calls. Test with your own traffic before production.
- The dataset is still small (a few hundred judged calls); a much larger version is being generated now. Expect new versions.
- Date and argument mistakes still happen. Keep a human transfer path and confirm irreversible actions, as the system prompt says.
- English only. Benchmarked turn by turn, not yet end to end with a live speech front-end.
The Actuate family
One dataset, one recipe, three very different open models, all measured the same way:
| Model | Base | Size | Best at |
|---|---|---|---|
| Actuate-LFM3-1.7B | LiquidAI/LFM3-1.7B | 1.7B, 3.2 GB | safest replies, fastest |
| Actuate-Spark-X2.6-4B | XHToken/Spark-X2.6-4B | 4B, 7.7 GB | best small tool caller |
| Actuate-Inkling-2-Mini | thinkingmachines/Inkling-2-Mini | 26B MoE (3.4B active), LoRA | most accurate overall |
Licence
Apache-2.0, like the base model.