srinath-exe's picture
Actuate v6: 5x data, function masking, fresh-test benchmark
db7b7ce verified
|
Raw History Blame Contribute Delete
8.61 kB
---
license: apache-2.0
base_model: unsloth/Inkling-2-Mini-unsloth-bnb-4bit
base_model_relation: adapter
library_name: peft
pipeline_tag: text-generation
language: [en]
datasets: [nvidia/When2Call]
tags: [tool-calling, function-calling, voice-agent, phone-agent, customer-service, inkling, lora, qlora, unsloth, actuate]
---
# Actuate-Inkling-2-Mini
**The Actuate brain that is most often judged correct: a LoRA for Inkling 2 Mini (26B mixture-of-experts, 3.4B active) that keeps
its accuracy, sends no invalid calls and talks like a phone agent.** Trained on the 4-bit
[unsloth/Inkling-2-Mini-unsloth-bnb-4bit](https://huggingface.co/unsloth/Inkling-2-Mini-unsloth-bnb-4bit) (original weights:
[thinkingmachines/Inkling-2-Mini](https://huggingface.co/thinkingmachines/Inkling-2-Mini)). Version **v6** (December 2026).
| Fresh test, 135 items | **Actuate-Inkling v6** | Actuate-LFM3 v6 | Actuate-Spark v6 |
|---|---|---|---|
| Judged correct | **71.9%** | 62.2% | 63.7% |
| Hallucination | **0.7%** | 3% | 0.7% |
| Invalid tool calls | **0%** | 11% | 24.8% |
| Speakable replies | **100%** | 94.1% | 94.1% |
| Missed tool calls | 50.8% | 30.5% | 39% |
## 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.
Inkling runs through Unsloth / Hugging Face generate on one H100 with the 4-bit base, which is slow, so it was measured on a fixed
third of the test set (every third item, **135 items**); the table above compares all three Actuate models on exactly those items.
| | Judged correct | Hallucination ↓ | Tool-call F1 | First call exact | Right action | Missed calls ↓ | Invalid calls ↓ | Speakable reply | Words per reply ↓ |
|---|---|---|---|---|---|---|---|---|---|
| ****Actuate-Inkling v6 (this adapter)**** | **71.9** | **0.7** | **40.5** | **35.6** | **72.6** | **50.8** | **0** | **100** | **26.2** |
**Read this before using it:** v6 is cautious. It misses about half of the tool calls the reference makes, often asking the caller a
question first; the judge accepts many of those turns, which is why it is judged correct most often while its tool-call F1 is below
Spark's. **No base number on this test set:** the base model's run hit its time cap and the budget did not allow a second try. On the
earlier, smaller test the base model was already at 71.7% judged correct (v1 adapter: 67.4%), so much of
the score is the base model's own strength; the fine-tune mostly changes *how* it answers (speakable 34.8% β†’ 97.8%,
81.2 β†’ 31.9 words per reply on that earlier test).
**Latency note:** the ~14 s per turn measured here comes from Hugging Face generate on a 4-bit model, not from the model. Serve it
with vLLM for real-time use; a vLLM benchmark is the next update.
## Use it
```python
from unsloth import FastModel
model, tok = FastModel.from_pretrained("srinath-exe/Actuate-Inkling-2-Mini", max_seq_length=8192, load_in_4bit=True) # pulls the base + this adapter
# build messages + tools as in the Actuate-LFM3 card, then:
ids = tok.apply_chat_template(messages, tools=tools, add_generation_prompt=True, return_tensors="pt", reasoning_effort="none").to("cuda")
raw = tok.decode(model.generate(ids, max_new_tokens=200, do_sample=False)[0, ids.shape[1]:], skip_special_tokens=False)
# parse with actuate_parse.parse("inkling", raw)
```
Trained as QLoRA (r 16, attention + MLP of the language layers, vision layers untouched) on the 4-bit base with Unsloth, 1 epoch,
on a random 600-example subset of the v6 data (same mix of normal, repeated and function-masked examples). The v1 adapter is at the
git tag `v1`.
## 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](https://huggingface.co/datasets/nvidia/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.
## 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](https://huggingface.co/srinath-exe/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](https://huggingface.co/srinath-exe/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](https://huggingface.co/srinath-exe/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.