/ Модель

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

Контекст
262 144 токена
Параметры
1,6 млрд
Лицензия
Своя лицензия
Архитектура
lfm3 · dense
Базовая модель
LFM3-1.7B
Библиотека
transformers
Опубликована
30 ноя 2026

Actuate-LFM3-1.7B

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

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

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

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

Actuate-LFM3-1.7B — англоязычная модель на базе LiquidAI/LFM3-1.7B, дообученная автором репозитория для управления телефонными голосовыми агентами. Это плотная причинная языковая модель примерно на 1,6 млрд параметров с контекстом до 262 144 токенов. Она принимает текстовые сообщения caller и результаты инструментов, формирует вызовы бизнес-инструментов в переданном JSON Schema формате, а затем короткий ответ, пригодный для озвучивания. Речь обрабатывает внешний ASR или дуплексная речевая модель; сама Actuate не принимает аудио.

Модель предназначена для телефонных сценариев обслуживания: поиска клиента и записей, проверки доступности, бронирования и отмены, передачи звонка оператору и ответов на информационные запросы. По README, при тестировании на ограниченном наборе из 174 примеров v2 чаще получала оценку «верно» и не галлюцинировала в 42 проверенных судьёй случаях, но пропускала часть ожидаемых вызовов инструментов. Ответы короткие и рассчитаны на произнесение вслух. Репозиторий содержит веса safetensors в bf16; для описанного запуска указаны vLLM и `--trust-remote-code`.

Обучение выполнено методом LoRA на синтетических диалогах с исполняемыми макетами бизнес-инструментов; среди обучающих данных также указана When2Call. README отмечает ошибки в датах и аргументах, небольшой размер набора и отсутствие сквозной оценки с реальным речевым интерфейсом. Перед применением с реальными звонками требуется проверка на собственных данных, а для необратимых действий рекомендуется подтверждение. Лицензия в метаданных обозначена как `other`; конкретные условия следует сверить на странице репозитория.

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

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

Ограничения

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

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

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

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

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

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

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

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

Открыть на Hugging Face

Actuate-LFM3-1.7B

A 1.7B brain for phone voice agents: picks the right tool call, then says one short sentence. Fine-tuned from LiquidAI/LFM3-1.7B. 3.2 GB in bf16. The first token arrives in about 20 ms on an L40S and 36 ms on a 24 GB L4.

Base LFM3-1.7BActuate
Judged correct47.6%76.2%
Hallucination9.5%0%
Speakable replies31%92%
Time to a complete action (L40S, p50)310 ms227 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 (vLLM) 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 LFM3-1.7B47.69.527.567.833.39.73167.1
Actuate v2 (this repo)76.2030.46950.612.49234.4
Actuate v366.79.534.570.740.29.390.835.2
Actuate v466.79.533.670.742.57.595.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 v2 is the default. v2 is the most often correct and had no hallucination in its 42 judged items (v1 had 3.6% on its test set). It is also more cautious: it skips some tool calls the reference makes (missed calls 50.6%). v3 and v4 rebalanced the training toward tool calls: they miss fewer calls and score higher tool-call F1, but are judged correct less often. Their LoRA adapters are in adapters/ if you prefer that trade-off.

First version (v1, no calendar line; 71 test turns + 66 noisy copies = 137 scored items): judged correct 33.6% → 60.6%, hallucination 13.9% → 3.6%, replies 62.9 → 32.1 words.

On a 24 GB card (NVIDIA L4, bf16, measured with v4, same size): first token 36 ms, complete action 545 ms p50 / 1051 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-LFM3-1.7B"
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("lfm3", 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: vllm serve srinath-exe/Actuate-LFM3-1.7B --trust-remote-code and send the rendered prompt to /v1/completions (this is how it was benchmarked).

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.safetensors + config + tokenizer: v2 merged into the base weights (bf16), ready for transformers or vLLM.
  • adapters/lfm3-vt1 … vt4: every LoRA adapter (r 32, all linear layers), so you can pick a version.
  • 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

Derived from LFM3-1.7B and distributed under the LFM Open License v1.0 (see LICENSE; the weights were modified by fine-tuning). Commercial use by organisations with $10M or more in annual revenue needs a licence from Liquid AI.

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

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

GPU в ailist

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

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

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

Класс архитектуры
Lfm3ForCausalLM
Ревизия весов
b46534e

0 моделей