/ Модель

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

Контекст
1 024 токена
Параметры
151 млн
Лицензия
Apache 2.0
Архитектура
cohere_asr · dense
Базовая модель
cohere-transcribe-arabic-07-2026
Библиотека
transformers
Опубликована
12 июл 2026

Cohere-Speech-Tashkeel-2B

Распознавание речиАудио → текст3 профессии
635скачиваний за 30 дней33лайкавеса обновлены13 июл 2026

Описание модели

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

Модель распознаёт арабскую речь и создаёт транскрипции с полной огласовкой и окончаниями иʿраба.

NAMAA-Space/Cohere-Speech-Tashkeel-2B — дообученная модель распознавания речи, которая преобразует арабскую речь в текст с полной огласовкой: фатхой, даммой, касрой, сукуном, шаддой, танвином и окончаниями иʿраба. Она основана на CohereLabs/cohere-transcribe-arabic-07-2026 и специализирует акустическое восстановление огласовок по произношению. В README указана архитектура Conformer-энкодер и Transformer-декодер; метаданные каталога указывают 151 млн параметров, а README — около 2 млрд, поэтому размер требует проверки. Контекст модели — 1024 токена.

Модель предназначена для подготовки огласованных расшифровок арабской речи, включая учебные материалы, субтитры и лингвистическую разметку. На отложенной выборке из 260 аудиофрагментов заявлены точность диакритических знаков 95,30%, DER 6,62% с окончаниями иʿраба и 5,67% без них. Модель опубликована под лицензией Apache-2.0.

Качество транскрипции и огласовок может снижаться при шуме и нечетком произношении; для шумных записей README рекомендует предварительную фильтрацию. Модель не предоставляет временные метки или диаризацию говорящих и оптимизирована для одного заранее заданного языка.

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

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

Ограничения

На шумной записи или при нечетком произношении ошибки распознавания могут ухудшать и огласовки. Модель не выдаёт временные метки и не выполняет диаризацию говорящих.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Бенчмарки пользователейпока нет

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

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

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

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

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

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

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

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

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

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

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

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

Открыть на Hugging Face

🕌 Cohere-ar-tashkeel

Arabic Speech → Fully-Diacritized Text  ·  التَّشْكِيل مِنَ الصَّوْت

Restores every ḥaraka — fatḥa, ḍamma, kasra, sukūn, shadda, tanwīn, and case-endings (iʿrāb) — directly from the audio, in a single pass.

Built on Cohere ASR Task Language License

📊 Performance at a glance

🎯 Diacritic Accuracy📉 DER · with iʿrāb📉 DER · no iʿrāb🔤 Letter WER
95.30%6.62%5.67%10.13%

Diacritic accuracy = correct ḥaraka placement on letters the model recognized correctly.


✨ What it does

Cohere-ar-tashkeel takes spoken Arabic and returns fully-voweled text. Instead of guessing diacritics from an unvoweled skeleton, it infers them from how the words are actually pronounced — so the output reflects the real reading, not a statistical best-guess.

It is built on Cohere Labs' cohere-transcribe-arabic-07-2026 (a ~2B-parameter Arabic/English speech model) and specialized for acoustic diacritization.


🎧 Why diacritize from speech?

Restoring tashkeel from text alone is inherently ambiguous — one consonantal skeleton (رَسْم) maps to many valid voweled readings, and text-only tools must guess which one was intended. Speech removes that ambiguity: the vowels and grammatical endings are audible. This model simply listens and writes them down.

That is exactly why it excels at the hardest part of tashkeel — case-endings / iʿrāb (إِعْرَاب) — the word-final marks that text-only systems most often get wrong.


📈 Results

Evaluated on a held-out set of 260 natural Arabic speech clips.

MetricScoreWhat it measures
Diacritic accuracy95.30%Correct ḥaraka on correctly-recognized letters — the purest tashkeel-quality signal.
DER — with case-endings6.62%Diacritic Error Rate over all letters, including word-final iʿrāb.
DER — excluding case-endings5.67%DER on word-internal diacritics only.
WER — undiacritized10.13%Letter-level speech-recognition accuracy.
WER — fully diacritized24.35%Strict: any single wrong ḥaraka marks the whole word wrong.

How to read this: when the model hears a letter correctly, it places the right diacritic on it 95.3% of the time, and only ~1 diacritic in 15 is wrong even including the tricky grammatical endings. Diacritized WER is strict by design and reads high — DER and diacritic accuracy are the meaningful diacritization metrics.


📝 Example outputs

Fully-diacritized transcriptions produced by the model:

#النَّصُّ المُشَكَّل
١السَّيِّدْ أُوكِي أُورَامَا رَئِيسُ مَجْلِسِ إِدَارَةِ بَنْكِ التَّنْمِيَةِ الْإِفْرِيقِيّ
٢وَالْبُذُورْ لِضَمَانِ نَجَاحِ الْمُوسِمِ الزِّرَاعِيِّ الْقَادِمْ
٣نِصْفُ الرِّبْحِ لِرَبِّ الْمَالِ خَاصَّةً ، لِأَنَّ الْمُضَارَبَةَ فِيهِ فَاسِدَةٌ

🚀 Usage

The model is fully self-contained — it loads and runs just like the Cohere ASR base model (the fine-tuned weights are already merged in).

import torch, soundfile as sf, librosa
from transformers import AutoProcessor, CohereAsrForConditionalGeneration

repo = "NAMAA-Space/Cohere-Speech-Tashkeel-2B"
proc = AutoProcessor.from_pretrained(repo)
model = CohereAsrForConditionalGeneration.from_pretrained(
    repo, dtype=torch.bfloat16, device_map="auto"
).eval()

# load audio as 16 kHz mono
wav, sr = sf.read("your_audio.wav", dtype="float32")
if wav.ndim > 1:
    wav = wav.mean(1)
if sr != 16000:
    wav = librosa.resample(wav, orig_sr=sr, target_sr=16000)

feats = proc.feature_extractor(
    [wav], sampling_rate=16000, return_tensors="pt",
    padding="longest", return_attention_mask=True,
)
audio_chunk_index = feats.pop("audio_chunk_index")

# request the diacritized Arabic decoding
prompt = proc.get_decoder_prompt_ids(language="ar", punctuation=True)
decoder_input_ids = torch.tensor([prompt], dtype=torch.long, device=model.device)

with torch.no_grad():
    out = model.generate(
        input_features=feats["input_features"].to(model.device, torch.bfloat16),
        attention_mask=feats["attention_mask"].to(model.device),
        decoder_input_ids=decoder_input_ids,
        max_new_tokens=448,
    )

text = proc.decode(out, skip_special_tokens=True,
                   audio_chunk_index=audio_chunk_index, language="ar")
print(text)

Requirements: transformers, torch, soundfile, librosa, and a CUDA GPU (bf16).


🧩 Model details

Base modelCohereLabs/cohere-transcribe-arabic-07-2026
Parameters~2B
ArchitectureConformer encoder + Transformer decoder (attention encoder–decoder)
TaskArabic speech → fully-diacritized text
Input16 kHz mono audio
OutputDiacritized Arabic text (with punctuation)
Precisionbfloat16
LicenseApache 2.0

⚠️ Intended use & limitations

  • Intended use: fully-diacritized Arabic transcripts from audio — captioning, language learning, MSA/liturgical read-speech, TTS front-ends, and linguistic annotation where correct harakāt matter.
  • Diacritization is inferred from pronunciation, so on noisy audio or unclear articulation the letters and their diacritics can degrade together — a VAD / noise gate is recommended for noisy input.
  • Inherits the base model's constraints: optimized for a single pre-specified language, no timestamps or speaker diarization.

📜 Citation & attribution

Released under Apache 2.0. A fine-tuned derivative of CohereLabs/cohere-transcribe-arabic-07-2026 by Cohere Labs; all original terms apply.

@misc{cohere_ar_tashkeel_2026,
  title  = {Cohere-ar-tashkeel: Arabic Speech Diacritization},
  author = {Omer Nacar},
  year   = {2026},
  publisher = {Hugging Face},
  howpublished = {\url{https://huggingface.co/NAMAA-Space/Cohere-Speech-Tashkeel-2B}},
  note   = {Built on CohereLabs/cohere-transcribe-arabic-07-2026}
}

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
CohereAsrForConditionalGeneration
Ревизия весов
710704b

0 моделей