/ Модель

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

Контекст
512 токенов
Параметры
124 млн
Лицензия
MIT
Архитектура
bert · dense
Базовая модель
multilingual-e5-small
Библиотека
transformers
Опубликована
15 ноя 2026

barge-in-detector

Классификация текстаТекст → label3 профессии

Многоязычный классификатор HashNuke определяет по тексту абонента, перебивает ли он голосового агента или подаёт сигнал подтверждения.

109скачиваний за 30 дней2лайкавеса обновлены15 ноя 2026

Бенчмарки

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

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

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

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

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

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

HashNuke разработал многоязычную модель-классификатор для определения, перебивает ли абонент текущую реплику голосового агента или произносит короткий сигнал подтверждения, после которого агенту следует продолжить. Модель принимает очищенный текст речи абонента и относит его к классу backchannel (0) или barge-in (1); предшествующая реплика агента, языковая подсказка и префикс query: не используются. Это дообученная для классификации последовательностей модель BERT на базе intfloat/multilingual-e5-small, содержащая 124,3 млн параметров с контекстом до 512 токенов; в описанном сценарии на вход подаются первые 64 токена. Доступны веса FP32 и экспорты ONNX, включая INT8.

Модель предназначена для встраивания в системы голосовых агентов и маршрутизации хода разговора. В тестах на объединённом синтетическом наборе она классифицировала верно 899 из 908 примеров; на 98 проверенных англоязычных примерах разработки — 93 из 98. Эти оценки не подтверждают качество на реальных разговорах или на других языках: для ряда языков метки синтетические, а вероятности не откалиброваны. Модель выпущена как экспериментальная. Лицензия — MIT; для базовой модели предусмотрена атрибуция.

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

  • Определение перебивания голосового агента абонентом
  • Различение перебивания и коротких реплик подтверждения
  • Передача хода разговора абоненту в голосовом ассистенте

Ограничения

Вероятности не откалиброваны, а порог 0,5 указан как диагностический. Оценки основаны преимущественно на синтетических данных и повторно использованных англоязычных примерах; качество на реальных разговорах и в большинстве языков отдельно не подтверждено.

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

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

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

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

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

Открыть на Hugging Face

Multilingual barge-in detector

A text classifier for caller speech over an ongoing agent turn: backchannel (0, let the agent continue) or barge-in (1, give the caller the floor). It consumes the first 64 tokenizer tokens of cleaned caller text, without a query: prefix, preceding agent line or language hint. Probabilities remain uncalibrated; .5 is a diagnostic threshold.

The new E5 phrase-coverage model is trained on the combined original dataset and phrase supplement, across all 14 languages.

FormatDownload
Unquantized fine-tune, FP32 PyTorchmodel.safetensors
FP32 ONNXonnx/model.onnx
Quantized INT8 ONNXonnx/model_int8.onnx

Tokenizer/configuration accompany the checkpoint. The ONNX directory includes its tokenizer and input/output metadata. Quantization applies to matrix operations; embeddings remain FP32. See verified hashes and provenance.

The root checkpoint is the new combined-data fine-tune. Release v0.2.0 contains the FP32 checkpoint and both ONNX formats at stable paths. The original baseline is available at tag v0.1.0; Git history preserves earlier versions. Training seeds and historical model directories are not part of the current tree.

Load the new FP32 model on CPU

import torch
from transformers import AutoModelForSequenceClassification, AutoTokenizer

repo = "HashNuke/barge-in-detector"
revision = "v0.2.0"
tokenizer = AutoTokenizer.from_pretrained(repo, revision=revision)
model = AutoModelForSequenceClassification.from_pretrained(repo, revision=revision).cpu().eval()
inputs = tokenizer("please wait", return_tensors="pt", truncation=True, max_length=64)
with torch.inference_mode():
    p_barge_in = model(**inputs).logits.softmax(-1)[0, 1].item()

Use a release tag to select a version, or a full commit SHA for immutable reproduction; release tags may be updated for authorized corrections. Clean inputs using the source transcript contract. ONNX Runtime CPU inference uses int64 input_ids and attention_mask; apply softmax to the two output logits and read index 1. Serving code lives in the GitHub source.

Training data and evaluation

SplitOriginal + supplementCombined
Train2,640 + 2,2784,918
Validation333 + 582915
Test331 + 577908

Use dataset configuration original-plus-phrase-v1 at the exact revision in release.json. The original dataset and standalone supplement are also available. The supplement was generated without a judge; multilingual labels remain synthetic.

The multilingual E5 encoder and binary head are fully fine-tuned. Three seeds use five epochs, batch 32, AdamW 3e-5 and class-weighted cross-entropy. Validation macro F1 selects seed 20261117, epoch 4 before heldout evaluation.

Evaluation, threshold .5Original E5New E5 FP32New E5 INT8, batch one
Combined synthetic test841/908899/908899/908
Reviewed English development cases72/9893/9894/98
False interruptions0/500/500/50
Missed interruptions26/485/484/48

The 98 English cases are reused development examples with pre-existing overlaps in the original dataset. They are not an independent estimate of real-world or multilingual accuracy. Fresh English/Hindi review and realistic-prior calibration remain open. Other languages are synthetic-only.

Owner-designated CPU, warmed batch one, four threads, 100 warmups/1,000 calls:

ExportTypical p50 / p95 / p99Full 64-token p50 / p95 / p99
FP32 ONNX3.86 / 6.88 / 10.62 ms13.24 / 17.75 / 20.82 ms
INT8 ONNX2.85 / 4.45 / 5.69 ms9.76 / 13.88 / 18.85 ms

INT8 meets the 20 ms model-path p99 target in this measurement. The Vxpipe boundary is unmeasured, so the 50 ms whole-path target is not established. INT8 outputs can differ from FP32 and with batch composition; these results use batch one. This is an experimental release.

Provenance and source

release.json pins the published source and dataset revisions and artifact hashes. Training provenance retains the actual source snapshot, base revision and selection.

Code, tests, research reports and labnotes live in GitHub. Versioned data lives in HashNuke/barge-in-detector-data. This repository contains model artifacts, cards, licence and provenance only. MIT licence; see LICENSE and NOTICE for base-model attribution.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
BertForSequenceClassification
Ревизия весов
28177ae

0 моделей