/ Модель

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

Лицензия
Apache 2.0
Архитектура
voxtral_realtime · dense
Базовая модель
Voxtral-Mini-4B-Realtime-2602
Библиотека
transformers
Опубликована
18 авг 2026

X2-Turn-4B-0812

Распознавание речиАудио → текст3 профессии

X2-Turn-4B-0812 распознаёт китайскую и английскую речь в реальном времени и предсказывает, когда пользователь закончил говорить или перебивает.

258скачиваний за 30 дней6лайковвеса обновлены17 сен 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Распознавание речи» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

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

X2-Turn-4B-0812 — модель x-square-robot для потокового распознавания речи и определения состояния речевого хода в голосовых ассистентах. Она дообучена на базе mistralai/Voxtral-Mini-4B-Realtime-2602: сохраняет ASR-основу и добавляет независимую голову для предсказания turn state. Модель с архитектурой VoxtralRealtimeForConditionalGeneration содержит около 4 млрд параметров и принимает аудио, выдавая потоковую транскрипцию и оценки состояния хода с шагом 80 мс.

Модель рассчитана на китайский и английский языки, включая смешанную речь. Её применяют для транскрипции с низкой задержкой, определения момента ответа ассистента, распознавания коротких реплик подтверждения и обнаружения перебивания. В оценке EasyTurn при задержке потока 480 мс авторы сообщают точность классификации состояния хода 91% для китайского и 89,33% для английского по приведённым результатам. Лицензия — Apache-2.0.

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

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

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

Ограничения

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

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

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

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

Открыть на Hugging Face

X2-Turn-4B-0812

Real-time bilingual ASR with turn-taking prediction for voice assistants.

Open in Spaces

Online demo: x-square-robot/x2-turn-4b-demo — try the model in your browser (no local GPU required). Thanks to @multimodalart for creating the Space.

X2-Turn-4B-0812 listens to live speech and produces two synchronized outputs:

  1. Streaming transcription in Chinese and English (including mixed speech)
  2. Turn-state predictions every 80 ms — whether the user is silent, still speaking, finished, or offering a brief backchannel

Built on mistralai/Voxtral-Mini-4B-Realtime-2602, this checkpoint adds an independent turn-prediction head while preserving the original ASR backbone. It is designed for voice assistants that must decide when to wait, respond, ignore a backchannel, or allow interruption.

Model summary

Model IDx-square-robot/X2-Turn-4B-0812
Parameters~4B
LanguagesChinese, English (mixed)
Frame rate80 ms
Turn labels6 classes (see below)
Base modelVoxtral-Mini-4B-Realtime-2602
PaperarXiv:2608.10878
CodeX-Square-Robot/X2-Turn
Online Demox-square-robot/x2-turn-4b-demo
LicenseApache-2.0 (see LICENSE and NOTICE)

Quick start

Install the inference wrapper from the X2-Turn code repository. No trust_remote_code is required.

git clone https://github.com/X-Square-Robot/X2-Turn.git
python -m pip install -e "./X2-Turn[transformers]"
import torch
from transformers import AutoProcessor
from voxtral_realtime.transformers import infer_asr_turn, load_mtp_checkpoint

model_id = "x-square-robot/X2-Turn-4B-0812"

processor = AutoProcessor.from_pretrained(model_id)
model = load_mtp_checkpoint(
    model_id,
    device="cuda",
    dtype=torch.bfloat16,
).eval()

result = infer_asr_turn(model, processor, "/path/to/input.wav")

print("ASR:", result.transcript)
for frame in result.turn_frames:
    print(frame.start_ms, frame.end_ms, frame.label, frame.confidence)
  • result.transcript — recognized text
  • result.turn_frames — turn label and confidence for each 80 ms frame

The loader also accepts a local checkpoint directory. For a full command-line example:

python examples/offline_inference.py \
  --model x-square-robot/X2-Turn-4B-0812 \
  --audio /path/to/input.wav \
  --output offline_frames.json

Turn labels

At inference time, the model emits one of six turn states per 80 ms frame. Five of these correspond to the turn states defined and trained in the paper; uncertain is an inference-only label used when the model is not confident that the turn has ended — it was not used during training.

Paper ↔ inference label mapping

Paper label (trained)Inference labelMeaning
<|idle|>idleNo useful speech detected
<|noidle|>noidleAcoustic activity present, intent not yet clear
<|incomplete|>speakingUser is still speaking; semantic content is partial
<|complete|>turn_endUser appears finished; assistant may respond
<|backchannel|>backchannelShort acknowledgment (e.g. "嗯", "对", "okay")
— (not trained)uncertainLow-confidence fallback at inference when the model cannot confidently assign another state

Paper metrics such as ACCcomp and ACCincomp in Table 1 refer to <\|complete\|> and <\|incomplete\|>, which map to turn_end and speaking respectively at inference time.

These are predictions, not commands. Production systems should smooth across several frames and apply a policy rather than acting on a single frame.

Benchmark results

Evaluation results are reported in X2-Turn: Frame-Synchronous Dual-Head Modeling for Joint Streaming ASR and Turn State Prediction (arXiv:2608.10878). This checkpoint is evaluated at streaming delay τ = 480 ms.

Table 1 — Turn state classification on EasyTurn (τ = 480 ms)

MethodStreamingACCcomp ↑ACCincomp ↑ACCbc ↑Latency ↓
ZHSoulX-Duplug✓77.6788.96—295 ms
X2-Turn (Ours)✓91.0093.0096.00288 ms
ENSoulX-Duplug✓89.3379.33—205 ms
X2-Turn (Ours)✓92.1084.60—225 ms

Table 2 — Effect of streaming delay τ on EasyTurn

τ (ms)ACCcomp ↑ACCincomp ↑Avg. ↑Latency ↓
ZH48091.0093.0092.00288 ms
40088.7094.3091.50208 ms
32087.3394.0090.67120 ms
EN48092.1084.6088.49225 ms
40085.2085.3085.25145 ms
32082.7087.6085.0965 ms

For the full baseline comparison (including cascaded systems), ASR results (Table 3), and the dual-head architecture overview (Figure 1), see the paper PDF.

Use cases

Recommended for:

  • Low-latency Mandarin, English, and mixed-language ASR
  • Voice-assistant response timing and endpointing
  • Distinguishing real requests from backchannels
  • Barge-in detection and turn-taking experiments
  • Controlled research and product evaluation with monitoring

Not recommended for:

  • Safety-critical decisions without human oversight
  • Speaker identity or emotion inference
  • Legal transcription or covert surveillance as the sole basis for action

Realtime serving

The fastest way to try the model is the hosted Space: x-square-robot/x2-turn-4b-demo.

Production deployment uses the X2-Turn code repository with a pinned vLLM overlay. Stock vLLM does not emit the custom turn.delta events — follow the vLLM integration guide before serving.

For local browser-based visualization of ASR, turn frames, and ACCEPT/REJECT/HOLD/barge-in decisions, see the turn-demo component in the repository.

Architecture

This checkpoint extends Voxtral-Mini-4B-Realtime-2602 with:

  • Shared backbone and ASR lm_head (stored under base_model.*)
  • Independent turn head vad_lm_head.weight with full vocabulary

Turn labels map to reserved tokenizer IDs 35–40. The five trained paper labels (idle, noidle, incomplete→speaking, complete→turn_end, backchannel) occupy IDs 35–39; uncertain (ID 40) is reserved for inference-only low-confidence fallback and was not supervised during training.

The canonical model.safetensors uses a single-file layout. The voxtral_realtime.transformers loader creates the VoxtralMTP wrapper before loading both heads. Runtime metadata includes params.json, tekken.json, processor_config.json, and generation_config.json.

Limitations

  • Accuracy may degrade under noise, reverberation, overlapping speakers, accents, dialects, code-switching, far-field microphones, or packet loss.
  • Turn predictions can flicker or arrive early/late; temporal smoothing is recommended.
  • ASR errors and turn errors interact — incomplete text does not always mean an incomplete turn.
  • Performance may vary across demographic groups, speaking styles, languages, microphones, and environments.
  • Real-time latency depends on hardware, serving configuration, and policy buffering.

Speech may contain personal, biometric, confidential, or copyrighted information. Obtain appropriate consent, minimize collection and retention, and avoid logging raw audio or transcripts by default.

Citation

If you use this model, please cite:

@article{fu2026x2turn,
  title   = {X2-Turn: Frame-Synchronous Dual-Head Modeling for Joint Streaming ASR and Turn State Prediction},
  author  = {Kaiqi Fu and Rime Wen and Altman Lin and Shawn Qin and Roy Gan and Hao Wang and Qian Wang},
  journal = {arXiv preprint arXiv:2608.10878},
  year    = {2026},
  url     = {https://arxiv.org/abs/2608.10878}
}

Acknowledgments

Thanks to @multimodalart from Hugging Face for building the online demo.

License

Model weights and code are released under Apache-2.0. Use is also subject to the Mistral base model terms. See NOTICE for attribution details.

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

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

GPU в ailist

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

Можно запустить

Подбираем GPU…

Класс архитектуры
VoxtralRealtimeForConditionalGeneration
Ревизия весов
49c62a9

0 моделей