srinath-exe
Actuate-Spark-X2.6-4B
A 4.1B model by srinath-exe that uses tools such as web search and can think before answering.
Tools Thinking- Downloads
- 3,984 downloads last month
- Likes
- 1 likes
- Uploaded
- Uploaded 3 Dec 2026
- Parameters
- 4,112,079,360 (4.1B)
- Context length
- 1,048,576 tokens
- Architecture
- spark2_5
- Task
- text-generation
- Licence
- apache-2.0
- Released
- 30 Nov 2026
- Last updated
- 2 Dec 2026
This is bartowski's upload of srinath-exe/Actuate-Spark-X2.6-4B, which is based on XHToken/Spark-X2.6-4B.
Languages listed in the model card
- English
Tools
Uses tools, so web search and the browser work best with it.
Thinking
Can think step by step before it answers.
Each version is the same model stored at a different precision: smaller files use less memory and lose a little quality.
| Version | File size | File | SHA-256 |
|---|---|---|---|
| IQ2_M | 1.54 GB | srinath-exe_Actuate-Spark-X2.6-4B-IQ2_M.gguf | |
| Q2_K | 1.61 GB | srinath-exe_Actuate-Spark-X2.6-4B-Q2_K.gguf | |
| IQ3_XXS | 1.82 GB | srinath-exe_Actuate-Spark-X2.6-4B-IQ3_XXS.gguf | |
| Q3_K_S | 1.90 GB | srinath-exe_Actuate-Spark-X2.6-4B-Q3_K_S.gguf | |
| IQ3_XS | 1.91 GB | srinath-exe_Actuate-Spark-X2.6-4B-IQ3_XS.gguf | |
| Q3_K_M | 1.99 GB | srinath-exe_Actuate-Spark-X2.6-4B-Q3_K_M.gguf | |
| Q3_K_L | 2.09 GB | srinath-exe_Actuate-Spark-X2.6-4B-Q3_K_L.gguf | |
| IQ3_M | 2.24 GB | srinath-exe_Actuate-Spark-X2.6-4B-IQ3_M.gguf |
Show all 22 versionsHide the other versions
| Version | File size | File | SHA-256 |
|---|---|---|---|
| IQ4_XS | 2.33 GB | srinath-exe_Actuate-Spark-X2.6-4B-IQ4_XS.gguf | |
| Q4_0 | 2.41 GB | srinath-exe_Actuate-Spark-X2.6-4B-Q4_0.gguf | |
| Q4_K_S | 2.46 GB | srinath-exe_Actuate-Spark-X2.6-4B-Q4_K_S.gguf | |
| IQ4_NL | 2.63 GB | srinath-exe_Actuate-Spark-X2.6-4B-IQ4_NL.gguf | |
| Q4_K_M | 2.63 GB | srinath-exe_Actuate-Spark-X2.6-4B-Q4_K_M.gguf | |
| Q4_1 | 2.64 GB | srinath-exe_Actuate-Spark-X2.6-4B-Q4_1.gguf | |
| Q4_K_L | 2.83 GB | srinath-exe_Actuate-Spark-X2.6-4B-Q4_K_L.gguf | |
| Q5_K_S | 2.95 GB | srinath-exe_Actuate-Spark-X2.6-4B-Q5_K_S.gguf | |
| Q5_K_M | 3.15 GB | srinath-exe_Actuate-Spark-X2.6-4B-Q5_K_M.gguf | |
| Q6_K_S | 3.45 GB | srinath-exe_Actuate-Spark-X2.6-4B-Q6_K_S.gguf | |
| Q6_K | 3.61 GB | srinath-exe_Actuate-Spark-X2.6-4B-Q6_K.gguf | |
| Q6_K_L | 3.78 GB | srinath-exe_Actuate-Spark-X2.6-4B-Q6_K_L.gguf | |
| Q8_0 | 4.38 GB | srinath-exe_Actuate-Spark-X2.6-4B-Q8_0.gguf | |
| BF16 | 8.23 GB | srinath-exe_Actuate-Spark-X2.6-4B-bf16.gguf |
- Model class
- Spark2_5ForCausalLM
- Model type
- spark2_5
- Layers
- 36
- Hidden size
- 2560
- Attention heads
- 16
- Key/value heads
- 4
- Vocabulary
- 131,072
- Context length
- 1,048,576 tokens
- Sliding window
- 512 tokens
- Weights
- bfloat16
Recommended settings
From generation_config.json in srinath-exe/Actuate-Spark-X2.6-4BThe sampling settings the model's makers ship as its defaults.
- Temperature
- 1
- Top P
- 0.95
- Top K
- -1
- Repetition penalty
- 1
- Presence penalty
- 0
Papers and data
From srinath-exe/Actuate-Spark-X2.6-4BDatasets listed in the model card
Actuate-Spark-X2.6-4B
The best tool caller of the Actuate family: a 4B brain for phone voice agents that makes the right calls and answers in one short, speakable sentence. Fine-tuned from XHToken/Spark-X2.6-4B. 7.7 GB in bf16, fits a 24 GB card. Version v6 (December 2026).
| Fresh test, 405 items | Base Spark-X2.6-4B | Actuate v6 |
|---|---|---|
| Tool-call F1 | 31.6 | 42.9 |
| First call exactly right | 27.1% | 47.5% |
| Judged correct | 60.7% | 64.2% |
| Hallucination | 6.4% | 2.7% |
| Time to a complete action (L40S, p50) | 551 ms | 401 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
Fresh test set (December 2026). 236 turns from held-out calls made after 2026-12-01 06:00 (none used for training or to choose a version), across 38 businesses, each scored twice: as written and as heard through real speech recognition (169 noisy copies), so 405 scored items. Each turn is replayed with the real tool results; the model may take several tool rounds before speaking. Every item is judged. Same prompts, same GPU (L40S) and same serving engine for base and tuned.
| Judged correct | Hallucination ↓ | Tool-call F1 | First call exact | Right action | Missed calls ↓ | Invalid calls ↓ | Speakable reply | Words per reply ↓ | |
|---|---|---|---|---|---|---|---|---|---|
| Base Spark-X2.6-4B | 60.7 | 6.4 | 31.6 | 27.1 | 72.6 | 39.2 | 18.2 | 83.7 | 37.9 |
| Actuate v4 (previous release; judged below) | – | – | 42.7 | 45.3 | 75.6 | 21.5 | 15.7 | 90.4 | 29.7 |
| Actuate v6 (this repo) | 64.2 | 2.7 | 42.9 | 47.5 | 74.3 | 31.5 | 19.4 | 93.6 | 29.6 |
v6 vs the previous release (v4) on the same test (135 judged items): judged correct 58.5% → 63.7%, hallucination 1.5% → 0.7%, tool-call F1 38.3 → 44.8, invalid calls 15.3% → 24.8% and missed calls 28.8% → 39.0%. The v4 adapter is still in adapters/, and the v4 merged weights are at the git tag v4.
Real speech-recognition noise: tool-call F1 30.6 → 39.3. Businesses never seen in training: F1 35.6 → 44.3.
Watch out for: 19.4% of its calls fail the tool schema (base: 18.2%). Validate arguments before running them and ask the model to retry; the engine message is usually enough for a correct second call.
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).
- 85 realistic businesses in 34 countries (clinics, salons, garages, restaurants, hotels, utilities, HR desks...), each with a job card, mock database tables and JSON-Schema tools: 849 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. 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).
- v6 adds scenarios aimed at the weak spots found in v5: identity checks, multi-step tasks, reschedules, tool errors, policy limits.
- 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. Result: 975 judged calls (1,953 training examples with repeats), 5x the first version.
- Function masking (Hammer, ICLR 2025): 30% of examples are repeated with tools and arguments renamed at random, so the model must read the tool descriptions instead of memorising names.
- Real speech-recognition noise (NVIDIA Magpie TTS -> Parakeet ASR), When2Call examples for when not to call, and a two-week calendar line in the system prompt.
Training. LoRA (rank 32, all linear layers; Inkling: QLoRA rank 16 on the 4-bit base), each model in its own native chat template and tool-call format (thinking off), loss only on the agent's messages, AdamW + cosine, lr 1.5e-4, 1 epoch.
Tried and dropped. Preference training after SFT: DPO on the model's own mistakes collapsed LFM3 into not calling; RPO (DPO + a supervised term, balanced pairs) was neutral. Neither was kept.
Metrics. Judged correct / hallucination: one LLM judge (Nemotron 3.5 Super 120B, same for every model) grades the final spoken reply against the tool results and business facts. Tool-call F1: a call counts only if its name and every argument match the verified reference after normalisation (strict: a lookup by phone instead of by name counts as wrong). Invalid: unknown tool or arguments that fail the schema. Speakable: one or two sentences, under 55 words, no lists, markdown or emoji.
Whole project: about $28 of GPU time (November $11.61, December $16.10); data generation ran on a free API.
Files
model-0000*-of-00002.safetensors+ config + tokenizer + modeling code: v6 merged into the base weights (bf16).adapters/spark-vt6: the v6 LoRA adapter (r 32, all linear layers); earlier adapters are kept next to it.actuate_parse.py: splits the raw output into tool calls and the sentence to speak.assets/: benchmark charts.
Limitations
- The goal for this release was 80% judged correct; no Actuate model reaches it yet (62-72%). Keep a human transfer path and confirm irreversible actions, as the system prompt says.
- Validate tool arguments against your schema before running them (and retry on failure): invalid-call rates are 0-19%.
- Synthetic data: realistic, judged and executed, but not real customer calls. Test with your own traffic before production.
- 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 on the same fresh test set (same 135 items for this table):
| Model | Base | Size | Judged correct | Tool-call F1 | Invalid calls | Best at |
|---|---|---|---|---|---|---|
| Actuate-LFM3-1.7B | LiquidAI/LFM3-1.7B | 1.7B, 3.2 GB | 62.2% | 36 | 11% | fastest (~0.2 s per action) |
| Actuate-Spark-X2.6-4B | XHToken/Spark-X2.6-4B | 4B, 7.7 GB | 63.7% | 44.8 | 24.8% | best tool caller |
| Actuate-Inkling-2-Mini | thinkingmachines/Inkling-2-Mini | 26B MoE (3.4B active), LoRA | 71.9% | 40.5 | 0% | most often judged correct, but cautious |
Licence
Apache-2.0, like the base model.
More from srinath-exe
On Hugging Face
Everything on this page comes from these pages and is refreshed every few hours; Hugging Face always has the latest.