/ Модель

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

Контекст
1 048 576 токенов
Параметры
3,8 млрд
Размер весов
8,2 ГБ
Лицензия
Apache 2.0
Архитектура
spark2_5 · dense
Базовая модель
Spark-X2.6-4B
Библиотека
transformers
Опубликована
30 ноя 2026

Actuate-Spark-X2.6-4B

Генерация текстаТекст → текст
206скачиваний за 30 дней0лайковвеса обновлены1 дек 2026

Описание модели

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

Дообученная англоязычная модель для телефонных голосовых агентов, которая выбирает вызовы бизнес-инструментов и формулирует короткие ответы для озвучивания.

Actuate-Spark-X2.6-4B — дообученная модель компании Actuate на базе XHToken/Spark-X2.6-4B, предназначенная для управления телефонными голосовыми агентами. Это плотная языковая модель семейства Spark 2.5 с 3,8 млрд параметров; она принимает текстовые реплики и результаты инструментов, формирует вызовы инструментов по JSON Schema и короткие ответы для озвучивания. Указанный нативный контекст — 1 048 576 токенов, формат весов — Safetensors; для обслуживания автор описывает SGLang и тестирование на GPU с 24 ГБ памяти.

Модель обучена на синтетических диалогах для сценариев обслуживания клиентов: поиск сведений о клиенте и записи, проверка доступности, бронирование, отмена и перевод звонка. В описанном тесте она улучшила F1 вызовов инструментов относительно базовой модели и часто выдавала короткие, пригодные для речи ответы. Модель работает только на английском языке и сама не обрабатывает аудио: её предполагаемая схема использует отдельный речевой интерфейс для распознавания и синтеза речи.

Автор сообщает о галлюцинациях и ошибках в аргументах инструментов, а также о небольшом синтетическом наборе оценки; результаты могут быть оптимистичны, поскольку версия выбиралась на том же тестовом наборе. Следует проверять аргументы перед выполнением вызовов, подтверждать необратимые действия и предусмотреть перевод на оператора. Лицензия — Apache-2.0.

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

  • поиск данных клиента во время телефонного звонка
  • проверка свободного времени и бронирование записи
  • изменение или отмена существующей записи
  • обработка нескольких запросов звонящего с вызовом инструментов
  • подготовка короткого устного ответа по результатам бизнес-системы

Ограничения

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

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

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

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

Открыть на Hugging Face

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-4BActuate
Tool-call F12736.7
Judged correct54.8%61.9%
Speakable replies75.3%91.4%
Time to a complete action (L40S, p50)509 ms408 ms

Base vs Actuate

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 correctHallucination ↓Tool-call F1Right actionMissed calls ↓Invalid calls ↓Speakable replyWords per reply ↓
Base Spark-X2.6-4B54.87.12768.444.87.475.339.3
Actuate v261.92.430.564.457.56.797.730
Actuate v357.12.438.170.735.611.381.628.3
Actuate v4 (this repo)61.911.936.767.244.81391.433.3

Every version

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:

ModelBaseSizeBest at
Actuate-LFM3-1.7BLiquidAI/LFM3-1.7B1.7B, 3.2 GBsafest replies, fastest
Actuate-Spark-X2.6-4BXHToken/Spark-X2.6-4B4B, 7.7 GBbest small tool caller
Actuate-Inkling-2-Minithinkingmachines/Inkling-2-Mini26B MoE (3.4B active), LoRAmost accurate overall

Licence

Apache-2.0, like the base model.

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

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

GPU в ailist

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

Нельзя запустить

Модели нужен код из репозитория; запуск откроется после проверки совместимости.

Класс архитектуры
Spark2_5ForCausalLM
Ревизия весов
663e3ba

0 моделей