/ Модель

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

Лицензия
CC BY-NC 4.0
Опубликована
12 сен 2026

hag-shalaby-tts-0.5B-v0.1

Синтез речиТекст → аудио
0скачиваний за 30 дней1лайквеса обновлены3 окт 2026

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

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

Русское описание этой модели ещё готовится. Пока можно заглянуть в карточку модели от автора ниже.

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

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

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

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

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

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

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

Открыть на Hugging Face

الحاج شلبي

Hag Shalaby v0.1

Egyptian Arabic   ·   Text-to-Speech   ·   Voice Cloning


About

Hag Shalaby is an Egyptian Arabic TTS model fine-tuned from Chatterbox Multilingual TTS.

It is designed for Egyptian Arabic pronunciation, conversational speech, and expressive voice generation while retaining Chatterbox's reference-based voice cloning.

The model does not contain a permanently baked-in speaker identity. The generated voice is conditioned on the reference audio supplied at inference time.


Files

FileDescription
model.safetensorsFine-tuned model weights
text_v2.pyTraining-time text normalization
ref.wavStarter reference audio

Installation

pip install chatterbox-tts==0.1.7 torch==2.6.0 torchvision==0.21.0 torchaudio==2.6.0

Pin torchvision to match torch. Installing chatterbox-tts on its own can leave a mismatched torchvision, which causes RuntimeError: operator torchvision::nms does not exist (often surfaced as ModuleNotFoundError: Could not import module 'LlamaModel'). If you already hit that, force-reinstall the trio and restart the runtime:

pip install -U --force-reinstall torch==2.6.0 torchvision==0.21.0 torchaudio==2.6.0

Usage

import torch
import torchaudio as ta
import importlib.util

from huggingface_hub import hf_hub_download
from safetensors.torch import load_file
from chatterbox.mtl_tts import ChatterboxMultilingualTTS


repo = "nomeda-lab/hag-shalaby-tts-0.5B-v0.1"

ckpt_path = hf_hub_download(repo, "model.safetensors")
ref_wav = hf_hub_download(repo, "ref.wav")
text_v2_path = hf_hub_download(repo, "text_v2.py")


# Load the exact text pipeline used during training
spec = importlib.util.spec_from_file_location("text_v2", text_v2_path)
text_v2 = importlib.util.module_from_spec(spec)
spec.loader.exec_module(text_v2)


# Load Chatterbox
model = ChatterboxMultilingualTTS.from_pretrained(device="cuda")

model.t3.load_state_dict(
    load_file(ckpt_path),
    strict=False,
)

model.t3.eval()


# Normalize text
text = text_v2.normalize_v2(
    "أهلاً بيك في خدمة العملاء، ممكن أساعدك إزاي؟"
)


# Generate speech
wav = model.generate(
    text,
    language_id="ar",
    audio_prompt_path=ref_wav,
    cfg_weight=0.3,
    exaggeration=0.5,
)

ta.save("out.wav", wav, model.sr)

Text Normalization

Always use normalize_v2()

The normalization pipeline is part of the model's expected input distribution.

It handles the text transformations used during training, including:

  • Alef variants
  • Hamza
  • Egyptian qaf behavior
  • Number verbalization
  • Other training-time normalization

Avoid manually replacing characters after normalization.

For example, forcing:

ق → ء

can move the input away from the training distribution and reduce output quality.

Use:

text = text_v2.normalize_v2(text)

Reference Audio

Use a clean 6–15 second recording from a single speaker.

The reference audio strongly affects the generated voice.

You can replace the included reference with your own:

audio_prompt_path="your_reference.wav"

Limitations

  • Reference audio quality strongly affects the output.
  • Egyptian dialect pronunciation is not perfectly consistent.
  • Colloquial Arabic receives limited automatic diacritization.
  • Number verbalization does not guarantee complete grammatical agreement.
  • Highly expressive or unusual inputs may produce unstable prosody.
  • The model has not been comprehensively evaluated for production deployment.

Attribution

Base model: Chatterbox Multilingual TTS — Resemble AI

Training datasets, recordings, and third-party components retain their respective licenses.

Source recordings remain the property of their creators. This release does not transfer rights to any narrator's voice or likeness.

Do not use the model to impersonate a real person without appropriate authorization.


License

CC BY-NC 4.0

Third-party components and datasets remain subject to their respective licenses.

الحاج شلبي

Hag Shalaby v0.1 · nomeda-lab

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

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

GPU в ailist

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

Нельзя запустить

Не удалось определить, чем загружать веса модели (нет library_name и architectures).

Ревизия весов
22d7750

0 моделей