TYGER for CPUs (ONNX, 8-bit)

TYGER is NineNineSix's turn-taking model for voice agents. It hears the caller and the agent's own playback, and decides when the caller has finished, when they are cutting in, and when a "mm-hm" fits. It ships as one 2.6 GB fp32 PyTorch file, which tyger-s2s runs on a GPU.

This repository is an 8-bit ONNX version of the part of TYGER that makes those decisions: 442 MB, run with ONNX Runtime and numpy, no PyTorch. On 28 recorded phone calls, it makes the same decision as the original on at least 99.6% of 80 ms frames.

Summary

TYGER This repository
Files model.safetensors, 2.6 GB, fp32 l15.int8.onnx 386 MB + turn_taker.onnx 56 MB
Runs on PyTorch and transformers 5.13 or later ONNX Runtime and numpy
Turn-taking yes yes, same decisions on at least 99.6% of frames
Transcribes turns yes (Nemotron, all 24 layers and its decoder) no
Time per 320 ms hop, Apple M4 Max (p90) 272 ms on 1 thread, 678 ms on 4 271 ms on 1 thread, 118 ms on 4

Things to know before using it:

  • There is no speech recognition here. TYGER's turn-taker reads only the first 15 of Nemotron's 24 layers, so that is all this file contains. tyger-s2s also transcribes each turn with the full Nemotron model; with this repository, transcribe the audio of each ENDPOINT event with any speech recognizer you like.
  • 85 of the original's 91 end-of-turn events land on the same frame here, within 80 ms. The other 6 also fire, 160 to 400 ms off.
  • It was checked against the original, not against the truth. How good TYGER's decisions are is measured on TYGER's card.
  • Speed was measured on one Apple M4 Max only.

This is an unofficial conversion. It is not made or endorsed by NineNineSix or NVIDIA.

Use it

Needs numpy and onnxruntime.

import sys
from huggingface_hub import snapshot_download

folder = snapshot_download("matthiastl/tyger-onnx")
sys.path.insert(0, folder)
from tyger_onnx import Tyger

tyger = Tyger(folder)                     # one per conversation
# every 320 ms: 5,120 new samples of 16 kHz mono float32 from the caller and from the agent's playback
for event in tyger.process(user_hop, agent_hop, mode="listen"):    # mode="speaking" while the agent talks
    if event["kind"] == "ENDPOINT":       # the caller has finished; event["audio"] is their turn
        ...
    elif event["kind"] == "BARGE":        # the caller is cutting in: stop the agent
        ...
    elif event["kind"] == "BACKCHANNEL":  # a "mm-hm" fits here
        ...

Tyger.process does what tyger-s2s's engine does for one conversation, with tyger-s2s's own turn rules (vendor/tyger_s2s/, unchanged) and TYGER's default thresholds: endpoint 0.91, barge-in 0.5, backchannel 0.4. It also returns a FRAME event per 80 ms with the probabilities. Change the thresholds with keyword arguments, such as Tyger(folder, ep_thr=0.93).

Files

File Size Description
l15.int8.onnx 386 MB Nemotron's encoder up to layer 15: log-mels [1, frames, 128] in, layer 15 [1, frames/8, 1024] out, one frame per 80 ms
turn_taker.onnx 56 MB TYGER's turn-taker (a 3-layer GRU, width 768), one 80 ms frame per call, fp32
mel_filters.npy 0.1 MB the mel filterbank of Nemotron's feature extractor
tyger_onnx.py β€” the runtime: log-mels in numpy, the 8 s windows, the GRU and the turn rules
vendor/tyger_s2s/ β€” tyger-s2s's turn rules and constants, Apache-2.0
config.json β€” inputs and outputs, checksums, the base model's revision, default thresholds
scripts/ β€” the code that made the files and the numbers below
results/ β€” the pass/fail rule and the scores behind the tables
LICENSE.md, NOTICE.md, licenses/ β€” OpenMDW-1.1, and what was changed

Check against the original

The rule (results/RULE.md) was written before any result was seen.

  • Original: TYGER as tyger-s2s's own CPU reference runs it (scripts/validate/reference.py in tyger-s2s). That is fp32 PyTorch with transformers 5.23: each stream's last 8 s are re-encoded every 320 ms, and the newest 4 frames of layer 15 go to the GRU.
  • This version: the same steps, with the files above.
  • Audio: 28 calls from CallHome English. In each recording both people are on one channel.
    • Listening: the first 120 s of each call played as the caller, with the agent silent, as TYGER's own Full-Duplex-Bench rows were run. That is 56 minutes, 42,000 frames.
    • Speaking: 30 s of each call played as the caller, and the same call 60 s later as the agent, so two voices overlap. That is 14 minutes, 10,416 frames.

Frame by frame, with the turn-taker running freely, the share of frames where the two give a different answer:

Decision Frames that differ Of the frames where either fires
Endpoint (p β‰₯ 0.91), listening 0.06% 5.2%
Backchannel (p β‰₯ 0.40), listening 0.34% 3.1%
Backchannel (p β‰₯ 0.80), listening 0.01% 10.5%
Barge-in (p β‰₯ 0.50), speaking 0.18% 5.1%
Barge-in (p β‰₯ 0.93), speaking 0.03% 15.0%
Turn state (most likely of 4), listening 0.00% β€”
Turn state (most likely of 4), speaking 0.23% β€”

Events, with tyger-s2s's turn rules and default thresholds. An event of the original counts as matched when this version has the same kind of event within one frame (80 ms):

Event Original This version Matched
ENDPOINT 91 94 85 (93.4%)
BACKCHANNEL 617 623 597 (96.8%)
BARGE 115 117 113 (98.3%)
All three 823 834 795 (96.6%)

The rule asked for at most 1% of frames to differ on each decision, and for at least 95% of all events to match. Both passed. The 6 unmatched endpoints all have an endpoint of this version 2 to 5 frames (160 to 400 ms) away.

Speed, on an Apple M4 Max, 200 consecutive 320 ms hops with speech in both streams. A hop includes both streams' log-mels and encoding, and the GRU. Times are p90 (results/speed.txt):

1 thread 4 threads
This version, ONNX Runtime 1.32 271 ms 118 ms
Original, PyTorch 2.15 272 ms 678 ms

A hop has to finish in 320 ms. On Apple Silicon, PyTorch runs the original's matrix products on Apple's matrix coprocessor, which is why the original is fastest on one thread there, and as fast as this version. Other CPUs were not measured. While the agent is silent, its window is encoded once and reused, which halves the work.

How it was made

  • Only what the decisions use. TYGER's turn-taker reads Nemotron's layer 15 of 24. scripts/l15.py rebuilds Nemotron's encoder up to that layer in plain PyTorch, with its causal subsampling, relative-position attention to the current frame and the 56 before it, and causal convolutions. It takes its weights from TYGER's file and matches transformers' encoder to within 2e-4, on values up to about 240. The log-mels are recomputed in numpy, to within 1e-4 of the HF processor.
  • 8 bits. ONNX Runtime's dynamic quantization stores the weights of every linear layer in 8 bits, per output channel. That includes the convolution modules' 1x1 convolutions, written as linear layers. The other convolutions, the norms and the attention products stay fp32, and so does the turn-taker.
  • Checks. In a spot check of three hops, the 8-bit layer-15 frames had a cosine similarity of at least 0.9993 with the original's; the decision and event tables above are the real test. scripts/test_runtime.py checks that tyger_onnx.py gives the same events, on the same frames, as the version that was scored. Running scripts/export.py again reproduces the three model files byte for byte. scripts/README.md has the commands.

Why it still re-encodes 8 seconds every hop

Re-encoding 8 s of audio per stream every 320 ms is most of the cost. Nemotron can stream instead, encoding only the new audio against cached state: 5 frames per hop instead of 101. scripts/stream.py does that. It gives the same frames for the first 8 s of a call (to within 2e-4), and then drifts, because the original forgets everything older than its 8 s window while the streaming encoder's history reaches further back. TYGER's turn-taker was built around the forgetting: on the same test, the streaming encoder gave 19 end-of-turn events where the original gave 91, and 355 backchannels instead of 617 (results/streaming-attempt.json). So this version keeps the original's windows. A streaming version would need the turn-taker retrained on streaming features.

Limitations

  • Agreement was measured on 28 recorded phone calls with both people on one channel, not in a live voice agent with separate caller and agent channels.
  • English only, as TYGER is.
  • No speech recognition (see above).
  • Speed is for one Apple M4 Max. Not measured on x86 servers, phones or single-board computers.
  • Everything TYGER's card says about the model's accuracy and limits still applies.

License and attribution

TYGER is Β© 2026 NineNineSix and is built on NVIDIA's Nemotron 3.5 ASR Streaming 0.6B; both are released under OpenMDW-1.1, and so are the model files here (LICENSE.md; NVIDIA's copy of the license in licenses/). NOTICE.md keeps TYGER's notice and lists what was changed, including that NVIDIA's weights are quantized here. vendor/tyger_s2s/ is from tyger-s2s (Apache-2.0); the code in tyger_onnx.py and scripts/ is Apache-2.0.

The test calls are the first 28 calls of the English part of talkbank/callhome (CABank English CallHome Corpus, TalkBank, doi:10.21415/T5KP54, CC BY-NC-SA 4.0). They were used for testing only, and none of their audio or annotation is in this repository.

Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for matthiastl/tyger-onnx

Quantized
(1)
this model