/ Модель

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

Контекст
8 192 токена
Параметры
134 млн
Лицензия
Своя лицензия
Архитектура
llama · dense
Базовая модель
Qwen2.5-0.5B-Instruct
Библиотека
transformers
Опубликована
7 дек 2024

turn-detector

Генерация текстаТекст → текст3 профессии

Компактная мультиязычная модель LiveKit оценивает по распознанному тексту, закончил ли пользователь реплику в голосовом диалоге.

1,2 млнскачиваний за 30 дней157лайковвеса обновлены11 фев 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

LiveKit Turn Detector — компактная дообученная языковая модель LiveKit для определения конца реплики в голосовых AI-системах. Она анализирует текст, распознанный системой STT, и оценивает, завершил ли пользователь свою мысль. Модель дополняет VAD: помогает не прерывать человека из-за смысловой паузы и корректно обрабатывать диктовку адресов, номеров телефонов, адресов электронной почты и других структурированных данных.

Мультиязычная версия основана на Qwen/Qwen2.5-0.5B-Instruct и обучена с дистилляцией знаний от модели-учителя Qwen2.5-7B-Instruct. В репозитории указаны архитектура LlamaForCausalLM, 134,5 млн параметров и контекстное окно 8192 токена; рабочий сценарий использует до шести ходов диалога и обрезает вход до 128 токенов. Распространяется в форматах ONNX и safetensors; квантованная ONNX-версия INT8 рассчитана на быстрый вывод на CPU. Модель поддерживает английский, испанский, французский, немецкий, итальянский, португальский, нидерландский, китайский, японский, корейский, индонезийский, турецкий, русский и хинди.

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

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

  • Определение конца реплики в голосовом помощнике
  • Снижение преждевременных перебиваний пользователя после смысловой паузы
  • Обработка пауз при диктовке адресов и контактных данных
  • Выбор момента ответа голосового агента на основе текста диалога
  • Настройка определения конца хода для поддерживаемого языка

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

LiveKit Turn Detector

An open-weights language model for contextually-aware end-of-utterance (EOU) detection in voice AI applications. The model predicts whether a user has finished speaking based on the semantic content of their transcribed speech, providing a critical complement to voice activity detection (VAD) systems.

📖 For installation, usage examples, and integration guides, see the LiveKit documentation.

Table of Contents

Overview

Traditional voice agents rely on voice activity detection (VAD) to determine when a user has finished speaking. VAD works by detecting the presence or absence of speech in an audio signal and applying a silence timer. While effective for detecting pauses, VAD lacks language understanding and frequently causes false positives. For example, a user who says "I need to think about that for a moment..." and then pauses will be interrupted by a VAD-only system, even though they clearly intend to continue.

This model adds semantic understanding to the turn detection process. It analyzes the transcribed text of a conversation in real time and predicts the probability that the user has completed their turn. When integrated into a voice pipeline alongside VAD, it substantially reduces unwanted interruptions while maintaining responsiveness.

The model is particularly effective in scenarios involving structured data input — such as dictating addresses, phone numbers, email addresses, and credit card numbers — where natural pauses between segments do not indicate completion.

Model Variants

Multilingual (recommended) and English-only (deprecated) are distributed as INT8 quantized ONNX models (model_q8.onnx) optimized for CPU inference.

⚠️ The English-only model (EnglishModel) is deprecated. Use the multilingual model (MultilingualModel) for all new projects, including English-only applications. The multilingual model provides better accuracy across all languages — including English — thanks to knowledge distillation from a larger teacher model and an expanded training dataset. The English-only variant will not receive further updates.

How It Works

The model operates on transcribed text from a speech-to-text (STT) system, not raw audio.

  1. Input: The recent conversation history (up to 6 turns, truncated to 128 tokens) is formatted using the Qwen chat template with <|im_start|> / <|im_end|> delimiters. The final user message is left without the closing <|im_end|> token.

  2. Prediction: The model predicts the probability of the <|im_end|> token appearing next. A high probability indicates the user has likely finished their utterance. A low probability indicates they are likely to continue.

  3. Thresholding: Per-language thresholds (stored in languages.json) convert the raw probability into a binary decision. These thresholds are tuned to balance responsiveness and accuracy for each supported language.

  4. Integration with VAD: In the LiveKit Agents framework, the model works alongside the Silero VAD plugin. VAD handles speech presence detection and interruption triggering, while this model provides the semantic signal for when to commit a turn.

Text Preprocessing

The multilingual variant applies the following normalization before inference:

  • NFKC unicode normalization
  • Lowercasing
  • Punctuation removal (preserving apostrophes and hyphens)
  • Whitespace collapsing

The English-only variant passes raw transcribed text without normalization.

Architecture and Training

Base Model

Both variants are fine-tuned from Qwen/Qwen2.5-0.5B-Instruct, selected for its strong performance on this task while enabling low-latency CPU inference.

Knowledge Distillation

A Qwen2.5-7B-Instruct model was first fine-tuned as a teacher on end-of-turn prediction. Its knowledge was then distilled into the 0.5B student model. The distilled model approaches teacher-level accuracy while maintaining the efficiency of the smaller architecture, converging after approximately 1,500 training steps.

Training Data

The training dataset is a mix of:

  • Real call center transcripts covering diverse conversational patterns
  • Synthetic dialogues emphasizing structured data input — addresses, email addresses, phone numbers, and credit card numbers
  • Multi-format STT outputs to handle provider variation (e.g., "forty two" vs. "42"), ensuring consistent predictions across different STT engines without runtime overhead

Although structured data enhancements were added only to the English training set, performance improvements generalized across languages due to the multilingual knowledge encoded in the Qwen2.5 base model.

Quantization

The trained model is exported to ONNX format and quantized to INT8 (model_q8.onnx), enabling efficient CPU-only inference with ONNX Runtime.

Supported Languages

The multilingual model supports 14 languages. The model relies on the STT provider to report the detected language, which is then used to select the appropriate per-language threshold.

English, Spanish, French, German, Italian, Portuguese, Dutch, Chinese, Japanese, Korean, Indonesian, Turkish, Russian, Hindi

Benchmarks

Detection Accuracy (Multilingual Variant)

  • True positive — the model correctly identifies the user has finished speaking.
  • True negative — the model correctly identifies the user will continue speaking.
LanguageTrue Positive RateTrue Negative Rate
Hindi99.4%96.3%
Korean99.3%94.5%
French99.3%88.9%
Indonesian99.3%89.4%
Japanese99.3%88.8%
Dutch99.3%88.1%
Russian99.3%88.0%
German99.3%87.8%
Portuguese99.4%87.4%
Turkish99.3%87.3%
English99.3%87.0%
Chinese99.3%86.6%
Spanish99.3%86.0%
Italian99.3%85.1%

Improvement Over Prior Version

The multilingual v0.4.1 release achieved a 39.23% relative improvement in handling structured inputs (emails, addresses, phone numbers, credit card numbers) compared to the prior version, reducing premature interruptions during data collection scenarios.

Usage

The model is designed for use as a turn detection plugin within the LiveKit Agents framework.

For complete installation instructions, code examples (Python and Node.js), and configuration options, see the LiveKit turn detector plugin documentation.

For broader context on how turn detection fits into the voice pipeline — including VAD configuration, interruption handling, and manual turn control — see the Turns overview.

Deployment Requirements

  • Runtime: CPU-only (no GPU required). Uses ONNX Runtime with the CPUExecutionProvider.
  • RAM: <500 MB for the multilingual model.
  • Instance type: Use compute-optimized instances (e.g., AWS c6i, c7i). Avoid burstable instances (e.g., AWS t3, t4g) to prevent inference timeouts from CPU credit exhaustion.
  • LiveKit Cloud: The model is deployed globally on LiveKit Cloud. Agents running there automatically use the optimized remote inference service with no local resource requirements.

Limitations

  • Text-only input: The model operates on STT-transcribed text and cannot incorporate prosodic cues such as pauses, intonation, or emphasis. Future versions may integrate multimodal audio features.
  • STT dependency: Prediction quality depends on the accuracy and output format of the upstream STT provider. Mismatches between training and deployment STT formats may degrade performance.
  • Context window: Limited to 128 tokens across a maximum of 6 conversation turns.
  • Language coverage: Currently supports 14 languages. Performance on unsupported languages is undefined.
  • Realtime model compatibility: Cannot be used with audio-native realtime models (e.g., OpenAI Realtime API) without adding a separate STT service, which incurs additional cost and latency.

License

This model is released under the LiveKit Model License.

Resources

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей