/ Модель

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

Лицензия
Apache 2.0
Библиотека
f5-tts
Опубликована
23 сен 2026

EL-HARRACHI

Синтез речиТекст → аудио3 профессии

Модель F5-TTS для синтеза речи на алжирской Darija с возможностью клонирования голоса по речевому образцу.

215скачиваний за 30 дней0лайковвеса обновлены18 ноя 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

EL-HARRACHI — модель синтеза речи на алжирском диалекте арабского языка Darija, разработанная сообществом algerian-nlp. Это дообученная модель F5-TTS на архитектуре Flow-Matching Diffusion Transformer с вокодером Vocos; она также поддерживает клонирование голоса по образцу речи. Обучение продолжалось 48 574 шага на примерно 399 часах разговорной речи, выразительных рассказов и устного фольклора; модель выдаёт монофонический WAV с частотой 24 кГц.

Модель предназначена для озвучивания текстов на алжирской Darija: например, для повествования, дубляжа, голосовых ассистентов и функций чтения вслух. Французские заимствования лучше оставлять латиницей. Основа — IbrahimSalah/Arabic-F5-TTS-v2; веса опубликованы в формате PyTorch. Лицензия репозитория — Apache-2.0.

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

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

  • озвучивание текстов на алжирской Darija
  • создание повествовательной речи и рассказов
  • дубляж аудио на алжирской Darija
  • генерация голосовых ответов ассистента
  • чтение текстов вслух для доступности
  • клонирование голоса по образцу речи с согласия говорящего

Ограничения

Формальные оценки качества, разборчивости и сходства голоса отсутствуют, отдельный тестовый набор не документирован. Данные охватывают ограниченный набор дикторов и региональных вариантов; клонировать голос без явного согласия нельзя.

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

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

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

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

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

Открыть на Hugging Face

EL-HARRACHI

EL-HARRACHI (الحراشي) is a flow-matching Diffusion Transformer (DiT) text-to-speech and zero-shot voice-cloning model for Algerian Darija (arq), fine-tuned for 48,574 steps on 69,066 filtered Algerian utterances (~399 hours) spanning conversational podcasts, expressive stories, and oral folklore.

Formal speech-quality evaluation (MOS, intelligibility, speaker similarity) has not yet been measured; an interactive demo is available at f5tts-algerian-darja-demo.streamlit.app.

TaskText-to-Speech (TTS) & Zero-Shot Voice Cloning
ArchitectureF5-TTS Flow-Matching DiT (dim 1,024 / depth 22 / heads 18) + Vocos Vocoder
Audio Output24 kHz mono WAV (100 mel channels)
Vocabulary2,580 character tokens (vocab.txt included in repo)
License (Weights)Apache-2.0
Author(s)Kamel Touati, Algerian NLP Collective

Quickstart

Install dependencies:

pip install f5-tts huggingface_hub torch

Python Model Loading

Both model_last.pt and vocab.txt ship directly inside this repository:

import torch
from huggingface_hub import hf_hub_download
from f5_tts.model import CFM, DiT
from f5_tts.model.utils import get_tokenizer

REPO = "algerian-nlp/EL-HARRACHI"
ckpt_path = hf_hub_download(REPO, "model_last.pt")
vocab_path = hf_hub_download(REPO, "vocab.txt")

vocab_char_map, vocab_size = get_tokenizer(vocab_path, "custom")

model = CFM(
    transformer=DiT(
        dim=1024, depth=22, heads=18, ff_mult=2,
        text_dim=512, text_mask_padding=False,
        conv_layers=8, pe_attn_head=1,
        text_num_embeds=vocab_size, mel_dim=100,
    ),
    mel_spec_kwargs=dict(
        n_fft=1024, hop_length=256, win_length=1024,
        n_mel_channels=100, target_sample_rate=24000,
        mel_spec_type="vocos",
    ),
    vocab_char_map=vocab_char_map,
)

ckpt = torch.load(ckpt_path, map_location="cpu", weights_only=False)
model.load_state_dict(ckpt["ema_model_state_dict"], strict=False)
model.eval()

CLI Inference

f5-tts_infer-cli \
  --ckpt_file model_last.pt \
  --vocab_file vocab.txt \
  --ref_audio reference_darja.wav \
  --ref_text "واش راك خويا، كلشي لاباس؟" \
  --gen_text "النص اللي تبغي تولدو بالدارجة الجزائرية" \
  --output_dir ./output

Audio & Text Preparation Notes

Resample reference audio to 24,000 Hz mono float32 (clean 5–12 s clip with an accurate transcript). Keep French loanwords in Latin script rather than transliterating them into Arabic, and apply the training text normalizer before synthesis:

import re

_FR_TAG_RE = re.compile(r"\[\s*(?:French|FR)\s*:\s*(.*?)\]", re.IGNORECASE)
_BRACKET_RE = re.compile(r"\[.*?\]|<.*?>|\(.*?\)")
_NOISE_CHARS = re.compile(r"[*#@~_^&%$+=/\\|{}\[\]`\"«»]")

def normalize_darja(text: str) -> str:
    text = _FR_TAG_RE.sub(r"\1", text)
    text = _BRACKET_RE.sub("", text)
    text = _NOISE_CHARS.sub("", text)
    text = text.replace("ـ", "")
    text = text.replace("إ", "ا").replace("أ", "ا").replace("آ", "ا")
    text = text.replace("ى", "ي")
    return " ".join(text.split()).strip()

Evaluation

Evaluation status: Formal TTS evaluation (MOS listening tests, ASR round-trip intelligibility, and speaker similarity) is currently unmeasured. No held-out TTS test partition or baseline comparison has been scored yet. The 0.4950 figure recorded in Training Details is a single-batch training loss, not an evaluation metric.

Note on anchor suites: DziriEval and MADAR are text-only suites and do not evaluate speech synthesis.


Intended Use & Scope

Recommended uses:

  • Algerian Darija speech synthesis for narration, storytelling, dubbing, voice-assistant output, and accessibility reading.
  • Starting point for fine-tuning custom Algerian voice models.

Out-of-scope uses:

  • Speech recognition or translation.
  • Languages or dialects outside Algerian Darija.
  • Cloning or impersonating any person's voice without their explicit consent.
  • Automated decisions affecting individuals.

Heavy French code-switching renders best when French words remain in Latin script. This model has not been evaluated for bias, toxicity, or factuality.


Architecture

ComponentSpecification
InitializationIbrahimSalah/Arabic-F5-TTS-v2 (547,500-step Arabic checkpoint, step and optimizer state reset before fine-tuning)
BackboneFlow-Matching Diffusion Transformer (DiT): dim 1,024, depth 22, 18 heads, ff_mult=2, 8 conv layers
Text Conditioningtext_dim=512, text_mask_padding=False
Mel & Vocodern_fft=1024, hop_length=256, win_length=1024, 100 mel channels, Vocos, 24,000 Hz
Vocabulary2,580 non-empty character tokens (vocab.txt)
Training Utterance LengthFiltered to 2.0–12.0 s during training
ObjectiveFull DiT flow-matching fine-tuning (all parameters trainable)

Before fine-tuning, step counters and optimizer momentum from the upstream Arabic checkpoint were stripped, and gradient checkpointing was enabled to fit 16 GB VRAM.


Training Data

Streamed and resampled on the fly to 24,000 Hz mono float32 from three OddAdmix Algerian speech collections, filtered to 2.0–12.0 s duration and 1.0–25.0 chars/sec density (69,066 retained of 77,150 raw utterances, 89.5% overall retention):

SubsetDomainRaw UtterancesFiltered UtterancesDuration
Kahwa podcastConversational / spontaneous23,26423,264~110 h
Loubna storiesExpressive narratives48,59041,301~237 h
Rawi folkloreCultural oral folklore5,2964,501~52 h
TotalMulti-domain77,15069,066~399 h

Decontamination: Unmeasured; no held-out TTS test partition or train/test audio deduplication is documented.

Training Data License Composition

The model weights are released under Apache-2.0. That grant applies to the weights and card only and does not relicense the underlying audio.

TierUtterancesShare
other (unresolvable Hub license on all three OddAdmix collections)77,150 raw (69,066 filtered)100.0%

Training Details

ParameterValue
ObjectiveFlow-matching TTS fine-tuning of the full DiT
OptimizerAdamW 8-bit (bitsandbytes), peak lr=2e-5, max_grad_norm=1.0 (betas unrecorded)
Batch Size2,000 mel-frames × 6 accumulation = ~12,000 frames/step
ScheduleCosine annealing, 2,000-step warmup
Steps48,574 across 8 multi-session Kaggle runs (Sep 20–23, 2026)
RegularizationGradient checkpointing (checkpoint_activations=True)
PrecisionFP16 mixed precision
Hardware & Duration1× NVIDIA Tesla T4 (16 GB), multi-session (~12 h per Kaggle session)
SeedUnrecorded
Run LogW&B k_touati-estin/f5tts-algerian-darja

Multi-Session Resume Progression

Each session resumed from model_last.pt. Per-session final losses are single-batch training values rather than a held-out validation curve:

SessionRun IDDateSteps ReachedFinal Batch LossStatus
1wxcxx3miSep 200—Setup/env error
2ymp61rc4Sep 2021.0581Setup/env error
3cknieh8fSep 209690.4266Session time limit
4m2zoj7akSep 200—Setup/env error
5hniwvpbuSep 2113,2140.9916Session time limit
6gyrlliysSep 2226,0141.1612Session time limit
7zyah6mu2Sep 2238,8650.4460Session time limit
8tk464wiiSep 2348,5740.4950Completed

Limitations

  • Speech quality is unmeasured. No MOS listening study, ASR intelligibility score, or speaker-similarity benchmark has been run on this checkpoint yet.
  • Small speaker set. The three OddAdmix collections reflect a limited set of speakers, so synthesized outputs may resemble those voices; voice cloning without consent is out of scope.
  • Domain and accent scope. Training covers Kahwa, Loubna, and Rawi (Central/Western registers); Eastern, Saharan, and heavily French-matrix speech are outside measured coverage.
  • No documented test partition. Without a held-out TTS test set, train/test separation is unmeasured.
  • No safety evaluation. Bias, toxicity, and audio misuse safeguards have not been evaluated.

Repository Contents

FileSizeDescription / SHA-256
model_last.pt3.54 GBFinal checkpoint at step 48,574 (ema_model_state_dict) · SHA-256 940fb1930b522b50213ef03c815a77364584c83fe9cecf5efa10f887f93265cc
vocab.txt11.4 KB2,580-token character vocabulary
F5TTS_Base_8_18.yaml1.9 KBDiT + Vocos model configuration

Intermediate checkpoints (model_48000.pt, model_48500.pt) and training audio are excluded.


The name

Dahmane El Harrachi (1926–1980), born Abderrahmane Amrani in El Harrach, Algiers, was one of the defining voices and mandole masters of Algerian Chaâbi music. His songs — most famously Ya Rayah (1973) — gave unmistakable voice to everyday working-class life, exile, and Algerian street poetry across decades.

His vocal delivery remains woven into how Algerian Darija is remembered and heard. Naming the collective's speech synthesis family after him honors that legacy: building technology that speaks Algerian Darija naturally.

The naming is homage and implies no endorsement.


Citation

@misc{algerian_nlp_el_harrachi_2026,
  title  = {EL-HARRACHI: Flow-Matching Speech Synthesis for Algerian Darija},
  author = {Touati, Kamel and Algerian NLP Collective},
  year   = {2026},
  url    = {https://huggingface.co/algerian-nlp/EL-HARRACHI}
}

Upstream initialization checkpoint:

@misc{salah_arabic_f5_tts_v2,
  title  = {Arabic-F5-TTS-v2},
  author = {Salah, Ibrahim},
  url    = {https://huggingface.co/IbrahimSalah/Arabic-F5-TTS-v2}
}

License

Weights and card are released under Apache-2.0. Refer to the Training Data License Composition section above regarding the underlying audio before redistributing derivatives.

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

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

GPU в ailist

Универсальный рантайм · f5-tts

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

Подбираем GPU…

Ревизия весов
76af8f1

0 моделей