/ Модель

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

Контекст
512 токенов
Параметры
45,8 млн
Лицензия
MIT
Архитектура
t5 · dense
Базовая модель
flan-t5-small
Библиотека
transformers
Опубликована
5 авг 2026

mend-flan-t5-small

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

Дообученная T5-модель очищает английские транскрипты диктовки от слов-паразитов и самопоправок, восстанавливая регистр и пунктуацию.

211скачиваний за 30 дней1лайквеса обновлены5 авг 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

mend-flan-t5-small — модель на базе T5, разработанная daltonoscar0 и дообученная на google/flan-t5-small для преобразования диктовки в связный письменный текст. Она удаляет слова-паразиты и заполненные паузы, разрешает самопоправки, восстанавливает заглавные буквы и пунктуацию. Для вызова требуется префикс «clean up: »; вход рекомендуется подавать в нижнем регистре и без знаков пунктуации по краям.

Модель содержит 45,8 млн параметров, использует библиотеку Transformers и формат safetensors; максимальный контекст — 512 токенов. Она обучалась на синтетических примерах и реальных англоязычных репликах Switchboard. В оценке на отложенных разговорах показала точность полного совпадения 0,616 и F1 удаления слов-паразитов 0,955.

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

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

  • Очистка транскрипта диктовки от слов-паразитов
  • Разрешение самопоправок в разговорной речи
  • Восстановление заглавных букв и пунктуации в транскрипте
  • Подготовка телефонных диалогов к чтению и анализу

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

mend-flan-t5-small

Turns spoken dictation into written text: removes filled pauses, resolves self-repairs, restores casing and punctuation.

send it to john no wait sarah um by friday
-> Send it to Sarah by Friday.

A fine-tune of google/flan-t5-small (77M) on 50,000 synthetically disfluent sentences plus 25,000 real Switchboard utterances. Code, evaluation and the full write-up: https://github.com/daltonoscar0/mend

Usage

from transformers import AutoModelForSeq2SeqLM, AutoTokenizer

model = AutoModelForSeq2SeqLM.from_pretrained("daltonoscar0/mend-flan-t5-small")
tok = AutoTokenizer.from_pretrained("daltonoscar0/mend-flan-t5-small")

text = "um send the the report to john no wait sarah by friday"
ids = tok("clean up: " + text, return_tensors="pt")
print(tok.decode(model.generate(**ids, max_new_tokens=160)[0], skip_special_tokens=True))
# Send the report to Sarah by Friday.

The clean up: prefix is required — it is the task prefix the model was trained with. Input should be lowercased with edge punctuation removed, which is the register the model saw in training.

Results

Scored on 293 held-out Switchboard conversations the model never trained on, and on a held-out split of the synthetic data. Brackets are 95% bootstrap intervals over 2000 resamples of sentences.

SystemSetNExact matchWER (words only)Filler removal F1Repair resolution
Copy baselinereal speech40000.3250.1170.0000.000
flan-t5-small, synthetic onlyreal speech40000.4550.0560.8590.326 [0.285, 0.366]
this modelreal speech40000.6160.0260.9550.503 [0.460, 0.546]
Copy baselinesynthetic100000.0300.1320.0000.000
this modelsynthetic100000.6460.0120.9960.863 [0.848, 0.877]

The headline finding of the project is the gap between the second and third rows. A model trained only on synthetically injected disfluencies resolves about a third of real human self-repairs; adding real speech to the training mix takes it to about a half. The two intervals do not overlap.

Limitations

Read these before using it for anything.

  • Half of real self-repairs are still unresolved (0.503). This is not a solved problem.
  • It has learned Switchboard's transcription conventions, including where that corpus puts commas and which discourse markers it treats as removable. Against a corpus that draws those lines elsewhere it will look worse.
  • No real ASR output was involved. The disfluent side of every training pair is a transcript, never a recognition hypothesis, so the model has never seen a substitution error a real recogniser makes.
  • Fragments are unhandled by construction. Utterances with cut-off words ("d-") were dropped from training, so it sure does ma make a difference keeps the stranded ma.
  • Register mismatch. The target is dictation; the real training speech is telephone conversation.

Two real failures from the held-out set, for calibration:

in    and then i it's like well the thrill is gone
gold  And then it's like the thrill is gone.
out   And then I, it's like, the thrill is gone.     <- abandoned "i" kept

in    degree it's of course it's a whole lot easier
gold  Degree, of course, it's a whole lot easier.
out   Degree, it's a whole lot easier.               <- drops "of course"

Training

Basegoogle/flan-t5-small (77M)
Data50,000 synthetic pairs + 25,000 real SwDA utterances (33% real)
Epochs2
Batch32
LR5e-5
HardwareApple M-series, 62 minutes
Validation loss0.216 → 0.159

Synthetic pairs come from a disfluency injector structured after Shriberg's account of self-repair — reparandum, interregnum, repair — applied to WikiText sentences and dictation templates. Real pairs come from the Switchboard Dialog Act corpus, split by conversation so no conversation appears in both training and evaluation.

Licence

MIT. Switchboard Dialog Act corpus is freely redistributable; WikiText is CC BY-SA 3.0.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
T5ForConditionalGeneration
Ревизия весов
230a456

0 моделей