/ Модель

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

Контекст
32 768 токенов
Параметры
7,1 млрд
Размер весов
15,2 ГБ
Лицензия
Apache 2.0
Архитектура
qwen2 · dense
Опубликована
28 апр 2025

TEN_Turn_Detection

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

Модель TEN-framework на базе Qwen2.5-7B определяет, завершил ли пользователь реплику, собирается ли продолжить или просит ИИ подождать.

318скачиваний за 30 дней71лайквеса обновлены27 мая 2025

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

TEN Turn Detection — модель TEN-framework для определения момента передачи хода в диалоге человека с ИИ. Она классифицирует текст пользователя по трём состояниям: finished — высказывание завершено и можно отвечать; unfinished — пользователь сделал паузу, но собирается продолжить; wait — пользователь просит ИИ молчать или приостановить разговор. Модель предназначена для управления очерёдностью реплик и прерываниями в системах диалога с полным дуплексом.

В основе лежит плотная трансформерная языковая модель семейства Qwen2; в README указана Qwen2.5-7B. Модель содержит 7,1 млрд параметров, принимает текст и имеет контекстное окно 32 768 токенов. Заявлена поддержка английского и китайского языков. В тестах авторов точность для состояний finished, unfinished и wait составляет 90,64%, 98,44% и 91% для английского и 98,90%, 92,74% и 92% для китайского соответственно; результаты относятся к опубликованному тестовому набору и не гарантируют такую же точность на других данных. Лицензия — Apache-2.0.

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

  • определение завершения реплики в голосовом диалоге с ИИ
  • обнаружение паузы пользователя перед продолжением высказывания
  • распознавание просьбы пользователя временно не отвечать
  • управление передачей хода в полно-дуплексном разговорном интерфейсе
  • снижение преждевременных перебиваний голосовым агентом

Ограничения

В README приведены результаты на тестовом наборе авторов; на других типах диалогов качество может отличаться. Поддержка заявлена для английского и китайского языков.

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

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

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

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

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

Открыть на Hugging Face

TEN Turn Detection

Turn detection for full-duplex dialogue communication

Introduction

TEN Turn Detection is an advanced intelligent turn detection model designed specifically for natural and dynamic communication between humans and AI agents. This technology addresses one of the most challenging aspects of human-AI conversation: detecting natural turn-taking cues and enabling contextually-aware interruptions. TEN incorporates deep semantic understanding of conversation context and linguistic patterns to create more natural dialogue with AI.

TEN Turn Detection categorizes user's text into three key states:

finished: A finished utterance where the user has expressed a complete thought and expects a response. Example: "Hey there I was wondering can you help me with my order"

wait: An wait utterance where the user has explicitly instructed the AI not to speak. Example: "Shut up"

unfinished: A clearly unfinished utterance where the user has momentarily paused but intends to continue speaking. Example: "Hello I have a question about"

These three classification states allow the TEN system to create natural conversation dynamics by intelligently managing turn-taking, reducing awkward interruptions while maintaining conversation flow.

TEN Turn Detection utilizes a multi-layered approach based on the transformer-based language model(Qwen2.5-7B) for semantic analysis.

Key Features

  • Context-Aware Turn Management TEN Turn Detection analyzes linguistic patterns and semantic context to accurately identify turn completion points. This capability enables intelligent interruption handling, allowing the system to determine when interruptions are contextually appropriate while maintaining natural conversation flow across various dialogue scenarios.

  • Multilingual Turn Detection Support TEN Turn Detection provides comprehensive support for both English and Chinese languages. It is engineered to accurately identify turn-taking cues and completion signals across multilingual conversations.

  • Superior Performance Compared with multiple open-source solutions, TEN achieves superior performance across all metrics on our publicly available test dataset.

Prepared Dataset

We have open-sourced the TEN-Turn-Detection TestSet, a bilingual (Chinese and English) collection of conversational inputs specifically designed to evaluate turn detection capabilities in AI dialogue systems. The dataset consists of three distinct components:

wait.txt: Contains expressions requesting conversation pauses or termination

unfinished.txt: Features incomplete dialogue inputs with truncated utterances

finished.txt: Provides complete conversational inputs across multiple domains

Detection Performance

We conducted comprehensive evaluations comparing several open-source models for turn detection using our test dataset:

LANGUAGEMODELFINISHEDACCURACYUNFINISHEDACCURACYWAITACCURACY
EnglishModel A59.74%86.46%N/A
EnglishModel B71.61%96.88%N/A
EnglishTEN Turn Detection90.64%98.44%91%
LANGUAGEMODELFINISHEDACCURACYUNFINISHEDACCURACYWAITACCURACY
ChineseModel B74.63%88.89%N/A
ChineseTEN Turn Detection98.90%92.74%92%

Notes:

  1. Model A doesn't support Chinese language processing
  2. Neither Model A nor Model B support the "WAIT" state detection

Quick Start

TEN Turn Detection is also available on github TEN-framework/ten-turn-detection

Installation

pip install "transformers>=4.45.0"
pip install "torch>=2.0.0"

Model Weights

The TEN Turn Detection model is available on HuggingFace

Inference

from transformers import AutoTokenizer, AutoModelForCausalLM
import torch

# Load model and tokenizer
model_id = 'TEN-framework/TEN_Turn_Detection'
model = AutoModelForCausalLM.from_pretrained(model_id, trust_remote_code=True, torch_dtype=torch.bfloat16)
tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)

# Move model to GPU
model = model.cuda()
model.eval()

# Function for inference
def analyze_text(text, system_prompt=""):
    inf_messages = [{"role":"system", "content":system_prompt}] + [{"role":"user", "content":text}]
    input_ids = tokenizer.apply_chat_template(
        inf_messages, 
        add_generation_prompt=True, 
        return_tensors="pt"
    ).cuda()
    
    with torch.no_grad():
        outputs = model.generate(
            input_ids, 
            max_new_tokens=1, 
            do_sample=True, 
            top_p=0.1, 
            temperature=0.1, 
            pad_token_id=tokenizer.eos_token_id
        )
        
    response = outputs[0][input_ids.shape[-1]:]
    return tokenizer.decode(response, skip_special_tokens=True)

# Example usage
text = "Hello I have a question about"
result = analyze_text(text)
print(f"Input: '{text}'")
print(f"Turn Detection Result: '{result}'")

Citation

If you use TEN Turn Detection in your research or applications, please cite:

@misc{TEN_Turn_Detection,
author = {TEN Team},
title = {TEN Turn Detection: Turn detection for full-duplex dialogue communication 

},
year = {2025},
url = {https://github.com/TEN-framework/ten-turn-detection},
}

License

This project is Apache 2.0 licensed.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей