Turn-Detection-S1

Audio turn completion, interruptions, and backchannels

Fine-tuned Qwen3-Omni-30B-A3B-Instruct · Five semantic actions / seven state labels · Apache-2.0

Model weights · Quick start · License

Language: English | 中文

Turn-Detection-S1 predicts when a speech assistant should consider responding, waiting, or handling a user interruption. It takes audio and the application's current assistant playback state, then scores the labels available in that state. It is fine-tuned from Qwen3-Omni-30B-A3B-Instruct.

Contents

Core features

Capability Description
Turn completion Distinguishes finished speech, incomplete speech, and background when the assistant is silent
Interruption and backchannel Distinguishes completed interruptions, brief feedback, unfinished speech, and background during playback
State-conditioned scoring Uses three listening labels or four speaking labels according to caller-supplied playback state
Single-forward prediction Uses Qwen3-Omni-30B-A3B-Instruct audio understanding and reads candidate answer-token logits in one forward pass, without generating explanations
Application integration The runtime in eval/ provides CLI inference and an HTTP API returning labels and probabilities
Open weights Apache-2.0, retaining attribution to the Qwen3-Omni-30B-A3B-Instruct base model

Labels

Assistant playback Output label Meaning Illustrative example (not an observed prediction)
Off listen_complete The user has finished and yielded the floor “Check tomorrow's weather in Beijing.”
Off listen_incomplete The user is still speaking or holding the floor “I'd like to ask about, um…”
Off listen_background Background unrelated to the target interaction Ambient noise, bystanders, or playback echo
On speak_interrupt A completed request to stop, correct, or take the floor “Stop a moment. I meant tomorrow.”
On speak_backchannel Finished brief feedback without requesting the floor “Mm-hmm, right.”
On speak_incomplete The user has started but not finished an utterance “Wait, what I wanted was…”
On speak_background Background unrelated to the target interaction Ambient noise, bystanders, or playback echo

The application must provide the real assistant_speaking state. The same words can express different intentions in context; these examples are illustrations, not measured model predictions.

Benchmark results

Public evaluation sets

Turn-Detection-S1 scores come from the complete native Transformers run merged-20261111_051726-1672084 on 2026-11-11, using temperature T=1 with calibration disabled. Other models retain their historical results.

Dataset Samples Correct Accuracy Semantic Macro-F1
Easy-Turn 800 789 98.625% 99.00%
Smart-Test-4000 4,000 3,871 96.775% 96.81%

Evaluation conditions: These are state-conditioned single-window results. Playback state was constructed using label rules and sample-ID hashes. Input audio was mono 16 kHz PCM16, retaining at most the final 8 seconds. Macro averages cover ground-truth-supported labels only. Easy-Turn covers five state labels and Smart-Test three; neither has background ground truth.

Comparison on shared samples

The main comparison uses original semantic labels: listen_complete→complete; listen_incomplete/speak_incomplete→incomplete; speak_interrupt→wait; speak_backchannel→backchannel; both background labels→invalid. Only labels are merged; predictions are retained, and options are not renormalized based on ground truth.

Metric comparison

Dataset Model N Accuracy Macro precision Macro recall Macro-F1
easyturn TurnSense 1.1 GPU 600 96.17% 96.19% 96.17% 96.17%
easyturn Smart-Turn 3.2 CPU 600 76.00% 78.21% 76.00% 75.52%
easyturn Smart-Turn 3.2 GPU 600 77.17% 78.26% 77.17% 76.94%
easyturn Qwen3-Omni-30B-A3B-Instruct 600 92.33% 93.40% 92.33% 92.53%
easyturn Turn-Detection-S1 600 98.17% 98.33% 98.17% 98.25%
smart-test TurnSense 1.1 GPU 4000 26.28% 75.97% 26.28% 38.86%
smart-test Smart-Turn 3.2 CPU 4000 92.50% 92.59% 92.50% 92.50%
smart-test Smart-Turn 3.2 GPU 4000 93.88% 93.89% 93.88% 93.87%
smart-test Qwen3-Omni-30B-A3B-Instruct 4000 69.40% 80.43% 69.40% 66.35%
smart-test Turn-Detection-S1 4000 96.78% 96.87% 96.78% 96.81%

Metrics on shared evaluation samples

Accuracy is computed over all shared samples. Precision, recall, and F1 are equally averaged over the two ground-truth target classes, complete and incomplete. Predictions outside those targets remain errors and are not renormalized.

Turn-Detection-S1 received constructed assistant-state metadata that the other audio models did not receive. Services and execution environments also differ. These figures compare the current S1 run with historical baselines; they are not a controlled comparison with identical information. The TurnSense figures here come from our evaluation, not its official model card.

Client request latency

Dataset Model N Mean ms P50 ms P90 ms Serial samples/s
easyturn TurnSense 1.1 GPU 600 638.60 648.29 657.59 1.57
easyturn Smart-Turn 3.2 CPU 600 64.91 47.66 54.51 15.41
easyturn Smart-Turn 3.2 GPU 600 5.36 4.18 5.26 186.68
easyturn Qwen3-Omni-30B-A3B-Instruct 600 222.09 226.87 247.68 4.50
easyturn Turn-Detection-S1 600 120.38 94.68 160.56 8.31
smart-test TurnSense 1.1 GPU 4000 543.53 649.01 659.98 1.84
smart-test Smart-Turn 3.2 CPU 4000 165.56 192.63 296.12 6.04
smart-test Smart-Turn 3.2 GPU 4000 4.07 3.42 4.63 245.65
smart-test Qwen3-Omni-30B-A3B-Instruct 4000 229.76 221.62 275.89 4.35
smart-test Turn-Detection-S1 4000 97.50 96.29 110.90 10.26

Client request latency and serial throughput

Turn-Detection-S1 latency comes from the native Transformers run above and includes local audio reading/decoding, preprocessing and inference. First-call overhead is retained; independent GPU kernel time was not measured. Other models retain historical timing.

The chart uses logarithmic axes. Historical ONNX runs used warmup=20 and remote runs warmup=0. ONNX timing includes mixing, resampling, features and inference; remote timing additionally includes encoding, HTTP, queueing and parsing. Both historical paths exclude file reading/decoding, whereas this Jev run includes it. Hardware, models and execution environments also differ, so this is not a controlled speed ranking.

Table samples/s equals N × 1000 / cumulative per-sample latency; it is neither whole-run wall-clock throughput nor concurrent capacity. Independent gpu_latency_ms and inference_latency_ms were not recorded in this run.

Quick start

Model weights, model cards and calibration.json belong at the repository root. Inference and evaluation tools are in eval/. To download the project from Hugging Face:

hf download Beagledata/Turn-Detection-S1 --local-dir Turn-Detection-S1
cd Turn-Detection-S1/eval

Activate an isolated Python >= 3.10 environment, install PyTorch suitable for the server's CUDA environment, then install project dependencies:

bash scripts/01_install.sh

Model evaluation

Before evaluation, download this project's prepared test sets from the separate Turn-Detection-S1-Eval-Datasets repository: eval/datasets/easyturn/ (800 samples) and eval/datasets/smart-test-4000/ (4000 samples), including actual WAV files, manifests and accompanying documentation. Then run from eval/:

hf download Beagledata/Turn-Detection-S1-Eval-Datasets --repo-type dataset \
  --local-dir datasets
bash scripts/02_validate_data.sh
bash scripts/03_evaluate.sh

Skip the download if the complete prepared test sets are already present. The dataset repository should contain easyturn/ and smart-test-4000/ at its root; the command saves them under eval/datasets/. The scripts read the prepared folders under eval/datasets/ by default. See the evaluation guide for directory settings and results, and test-set details for provenance and licenses.

Original data sources:

These links document provenance; use the prepared dataset above for evaluation.

GPU recommendation: This approximately 30B-parameter model requires substantial GPU memory for its full weights and intermediate tensors. Use a GPU with ample VRAM and leave headroom for audio processing and inference. The current evaluation script loads the model onto one GPU (cuda:0 by default); that GPU must have enough free memory. Making two GPUs visible does not automatically distribute the model.

The evaluation script defaults to the merged model at the repository root, loads it once for both datasets, and enables calibration.json. The published scores used T=1; set CALIBRATION=none to match that setting, as explained in the guide.

Single-sample inference and HTTP service

Run from eval/, replacing example.wav with a real audio path:

python infer.py --model .. --audio example.wav --assistant-speaking false
python serve.py --model .. --host 127.0.0.1 --port 8000

The application must supply the real assistant_speaking state. Results contain answers.turn.choice and probabilities. Inference and serving default to T=1; add --calibration ../calibration.json to enable calibration. Merged weights need no separate base model or adapter. This task uses custom candidate scoring; generic pipeline("audio-classification") is not a drop-in replacement.

Training and evaluation

The model was fine-tuned with LoRA rank 32, alpha 64, learning rate 5e-5, and a three-epoch budget. The processed pool contains 156,925 samples from Easy-Turn, Smart-Turn and MUSAN noise, with 141,232 assigned to training. On the separate internal test set of 3,923 samples, accuracy was 97.04% and seven-label Macro-F1 was 97.87%.

See EVALUATION.md for data distributions, label recalls, experiment provenance and timing boundaries.

Limitations

  • Public sets do not assess background recall. Smart-Test's speaking group contains incomplete speech only, so its 99.90% accuracy does not establish interruption/backchannel discrimination.
  • Performance is conditional on correct external playback state. These results do not establish streaming event latency or robustness to deployment devices, echo, noise and accents.
  • This release requires a Qwen3-Omni-30B-A3B-Instruct GPU environment. CPU, ONNX and quantized deployments have not been benchmarked.

License and acknowledgements

Fine-tuned weights are released under Apache License 2.0, permitting no-charge research, personal and commercial use, modification and redistribution subject to its terms.

The base model was developed and released by the Qwen team: Qwen3-Omni-30B-A3B-Instruct. Its official model page declares Apache-2.0; the official license text is available in Qwen3-Omni/LICENSE. Base-model attribution and fine-tuning modifications are recorded in NOTICE.

Thanks to Qwen, ms-swift, OmniJev/OneJev, Easy-Turn, Smart-Turn and MUSAN. Datasets and dependencies retain their own licenses. This independent derivative is not endorsed by the upstream authors.

Source code and feedback

Source code · Hugging Face Discussions

Downloads last month
112
Safetensors
Model size
32B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Beagledata/Turn-Detection-S1

Finetuned
(54)
this model

Datasets used to train Beagledata/Turn-Detection-S1