Hugging Face |
Launch Blog
License: Apache 2.0
SOV-Omni-1-Mini
SOV-Omni-1-Mini is Salesforce's open-weight, audio-native language model for building voice agents. It hears speech directly, as continuous audio embeddings with no transcript in between, alongside ordinary text context such as a system prompt, tool definitions and conversation history, and it responds with text or structured tool calls.
Most voice assistants are a cascade: speech recognition writes a transcript, a language model reads it, and text-to-speech speaks the reply. SOV-Omni-1-Mini removes the transcription step, so what the user said reaches the language model without being flattened into a lossy transcript first.
Developers and enterprises can deploy and adapt SOV-Omni-1-Mini on their own infrastructure, keeping control over their audio data and agent behavior.
Key features
- Speech in, actions out. Takes spoken user turns directly and produces either a reply or a structured tool call, so it can drive a multi-turn voice agent end to end.
- Optional reasoning. You can use a reasoning router to have the model think only when it needs to, so routine turns stay fast and harder questions get thought through. See Reasoning router.
- Built for task completion. Trained in simulated customer-service environments, with their own policies, tools and databases, to carry out multi-step requests correctly over a whole conversation, not just to understand a single utterance.
- Accurate spoken identifiers. Handles the details people spell out loud, such as email addresses, account IDs and names, including corrections ("no, that's M as in Mary").
- Robustness to accents. The audio interface was tuned on accented English so recognition holds up beyond the few accents that dominate public speech data.
- Text abilities preserved. The language model was frozen while the model learned to hear, so the base model's text behavior was preserved through the audio training stages.
Model summary
| Property | Details |
|---|---|
| Total parameters | 31.4B, including the audio encoder and projector |
| Architecture | Whisper large-v3-turbo audio encoder (+ LoRA), 8× frame stacking, SwiGLU audio projector, Gemma 4 31B |
| Audio interface | ~54M trainable parameters (53M projector + rank-8 Whisper LoRA) |
| Audio rate | 16 kHz input → 50 encoder frames/s → ~6.25 audio embeddings/s after stacking |
| Precision | BF16 |
| Hardware | One 80 GB NVIDIA H100 or H200 |
| Context length | 32k tokens |
| Longest user turn | About 87 minutes of audio at 32k context (375 audio tokens per minute), less whatever the system prompt, tools, history and reply use |
| Companion model | Reasoning router that decides per turn whether to think before answering |
| Inputs / outputs | 16 kHz speech plus text context (system prompt, tools, history) / text or tool calls |
| Languages | English |
| Tasks | Spoken dialogue, spoken question answering, tool / function calling from speech, voice agents |
| Inference frameworks | vLLM and Hugging Face Transformers |
| License | Apache 2.0 |
Benchmark results
| Benchmark | What it measures | SOV-Omni-1-Mini | Source |
|---|---|---|---|
| Audio MultiChallenge | Multi-turn conversational ability from audio | 59.69 ± 4.13 | Scale AudioMC leaderboard |
| Big Bench Audio | Reasoning over spoken questions | 97.0% (#1 US-based open-weight) | Artificial Analysis |
| τ-Voice | Task completion in voice agent conversations (Pass^1) | 72.9% (#1 open-weight) | τ-Voice leaderboard (Sierra) |
| VoiceBench | Spoken instruction following and safety | 90.60 (#1) | VoiceBench leaderboard |
Usage
Installation and hardware requirements
# Transformers
pip install "transformers>=5.14" torch librosa accelerate
# vLLM
pip install "vllm>=0.32.0" # native UltravoxModel support, no plugin required
In BF16 the weights take 62.8 GB, so the model runs on a single 80 GB NVIDIA H100 or H200 with room for the KV cache at 32k context.
vLLM
Recommended. Serve the model with an OpenAI-compatible endpoint, then send each user turn as audio along with your system prompt, tools and conversation history.
vllm serve salesforce-sovereign-intelligence/SOV-Omni-1-Mini --max-model-len 32768 \
--trust-remote-code --dtype bfloat16 \
--enable-auto-tool-choice --tool-call-parser gemma4 --reasoning-parser gemma4
import base64
from openai import OpenAI
client = OpenAI(base_url="http://localhost:8000/v1", api_key="EMPTY")
def audio_part(path):
data = base64.b64encode(open(path, "rb").read()).decode()
return {"type": "input_audio", "input_audio": {"data": data, "format": "wav"}}
tools = [{
"type": "function",
"function": {
"name": "lookup_order",
"description": "Look up an order by the customer's email address.",
"parameters": {
"type": "object",
"properties": {"email": {"type": "string"}},
"required": ["email"],
},
},
}]
messages = [
{"role": "system", "content": "You are a helpful support agent for Acme. Verify the customer's email before looking up orders."},
{"role": "user", "content": [audio_part("user_turn_1.wav")]},
]
response = client.chat.completions.create(
model="salesforce-sovereign-intelligence/SOV-Omni-1-Mini",
messages=messages,
tools=tools,
temperature=0.0,
)
message = response.choices[0].message
print(message.tool_calls or message.content)
To continue the conversation, append the assistant message (and any tool results) to messages, then add the next user turn as audio.
Hugging Face Transformers
import librosa
from transformers import AutoModelForMultimodalLM, AutoProcessor
model_id = "salesforce-sovereign-intelligence/SOV-Omni-1-Mini"
processor = AutoProcessor.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForMultimodalLM.from_pretrained(model_id, trust_remote_code=True, device_map="auto")
audio, _ = librosa.load("user_turn_1.wav", sr=16000, mono=True)
messages = [
{"role": "system", "content": "You are a helpful support agent for Acme."},
{"role": "user", "content": [{"type": "audio", "audio": audio}]},
]
inputs = processor.apply_chat_template(
messages, tools=tools, add_generation_prompt=True, return_tensors="pt"
).to(model.device, dtype=model.dtype)
outputs = model.generate(**inputs, max_new_tokens=1024, do_sample=False)
print(processor.decode(outputs[0, inputs.input_ids.shape[1]:], skip_special_tokens=True))
Reasoning router
Extended reasoning makes SOV-Omni-1-Mini much better at multi-step spoken questions, but it adds latency, and in a live conversation a slow answer is a worse answer. The reasoning router resolves this per turn. It is a small classifier on EmbeddingGemma-2 audio embeddings, trained on synthetic speech, that predicts from the user's audio whether a turn needs reasoning. Its weights are in router/:
- Routine turns ("yes, that's my email") get an immediate answer.
- Hard turns ("if I upgrade now and cancel in March, what do I owe?") get thought through first.
The router decides one thing per turn: whether to set enable_thinking on the request.
from sov_omni_cookbook import ReasoningRouter # in cookbook/
router = ReasoningRouter.from_pretrained("salesforce-sovereign-intelligence/SOV-Omni-1-Mini")
think = router.needs_reasoning("user_turn_1.wav") # or a 16 kHz float32 numpy array
response = client.chat.completions.create(
model="salesforce-sovereign-intelligence/SOV-Omni-1-Mini",
messages=messages,
tools=tools,
temperature=0.0,
extra_body={"chat_template_kwargs": {"enable_thinking": think}}, # True for turns the router flags
)
Voice agent cookbook
You can use SOV-Omni-1-Mini to build voice agents. To help you get started, the cookbook/ folder of this repo has a minimal voice agent: a simple voice activity detection (VAD) harness that decides when the user has finished speaking, sends each turn to the model with your system prompt and tools, and hands the reply to text-to-speech. It is a starting point, not part of the model, so swap in your own pieces as you go.
-
Serve the model with vLLM, as shown in Usage.
-
Run the agent. The first run needs no microphone: it streams an example conversation from a file.
hf download salesforce-sovereign-intelligence/SOV-Omni-1-Mini --include "cookbook/*" "router/*" --local-dir sov-omni-1-mini cd sov-omni-1-mini/cookbook pip install -r requirements.txt python voice_agent.py --model-url http://localhost:8000/v1 --input examples/three_turns.wavDrop
--inputto talk to it through your microphone, or add--push-to-talkto skip turn detection and press Enter to start and end each turn. -
Make it yours. Edit
prompt.txtandtools.jsonfor your use case, and swap in your own TTS and turn detection. The cookbook's--thinkflag turns reasoning on for every turn; to decide per turn instead, add--router, which uses the reasoning router inrouter/.
Training
SOV-Omni-1-Mini was trained in two parts: first teaching a frozen Gemma 4 31B to hear, then teaching it to complete tasks.
Part 1: teaching the model to hear. With all 31B Gemma parameters frozen, we trained only the audio interface (the projector and a rank-8 Whisper LoRA) on 150,000 English speech examples:
- Transcription (100k examples) so the audio path preserves exact words and names.
- Distillation (50k examples) from a frozen copy of the base model reading the transcript, across transcription, open-ended continuation and spoken question answering, so the audio makes Gemma behave as if it had read the right text.
We then added a short stage on synthetic spelled-out email addresses (introducing a small LoRA inside Gemma for the first time), and, last, tuned the audio interface on 76.6 hours of accented English from licensed conversational recordings, public-domain audio and an in-house synthetic accented-speech pipeline.
Part 2: teaching the model to complete tasks. We trained a rank-8 LoRA on Gemma in simulated customer-service environments built in house, each with its own policies, tools, databases and simulated customer:
- Supervised fine-tuning on text: ~40,000 examples of the correct next action (tool call or reply).
- Supervised fine-tuning with speech: ~74,000 examples, a third with the customer's turn as audio; the projector was unfrozen so the audio interface could adapt to conversational speech.
- Preference optimization (DPO): 6,600 pairs, each built around a specific mistake seen in evaluation, with the better response verified by replaying it in the environment.
- Reinforcement learning (GRPO): full conversations with the simulated customer, rewarded only when the environment's checker confirmed the task was done.
Evaluation protocol and reproducibility
View evaluation settings
| Benchmark | Setup | Metric |
|---|---|---|
| Audio MultiChallenge | Official Scale leaderboard submission (one-pass agent) | Score ± 95% CI ↑ |
| Big Bench Audio | Run by Artificial Analysis | Accuracy ↑ |
| τ-Voice | Sierra τ-Voice leaderboard (retail, airline, telecom) | Pass^1 ↑ |
| VoiceBench | Official VoiceBench leaderboard | Overall score ↑ |
Best practices
- Send audio as the user turn. Prepare 16 kHz mono audio and pass each user turn as audio; keep the system prompt, tools and history as text.
- Write policies into the system prompt. The model was trained to follow per-domain policies and tool schemas supplied in context, so state the rules your agent must follow there.
- Sampling parameters. Use greedy decoding (
temperature=0) for agent use.
Limitations
- English only. All speech training data was English. A multilingual checkpoint is coming soon.
- Text output. The model does not generate audio; pair it with a text-to-speech system to speak replies.
- Turn-based, not full-duplex. The model responds once a user turn is complete. Barge-in and overlapping speech are handled by the surrounding harness, not the model. A full-duplex live model is coming soon.
License
Apache 2.0.