Views
No views yet
| Detail | Value |
|---|---|
| Base model | coqui/XTTS-v2 |
| Fine-tuned on | ~50 000 synthetic Saudi Arabic sentences |
| Speaker | Hoda (female, Saudi) |
| Languages | Arabic (ar) + English (en) |
| Sample rate | 24 000 Hz |
| Training dialect | Najdi / Saudi colloquial Arabic (ars) |
| Precision | fp16 |
| Checkpoint step | 320 190 |
lahgtna-omnivoice-v2 TTS system using the Najdi Arabic (ars) voice.| File | Description |
|---|---|
model.pth | Fine-tuned GPT weights (upload this as the XTTS checkpoint) |
config.json | Training / inference configuration |
vocab.json | XTTS-v2 tokenizer vocabulary |
dvae.pth | Discrete VAE (from XTTS-v2 base, unchanged) |
mel_stats.pth | Mel spectrogram normalisation stats (from XTTS-v2 base, unchanged) |
speakers_xtts.pth | Speaker embedding library (from XTTS-v2 base) |
reference_audios/hoda.wav | Reference audio for voice cloning |
references.json | Speaker metadata |
1from TTS.api import TTS
2
3tts = TTS(model_path="Rabe3/saudi-xtts-v2", progress_bar=True)
4
5tts.tts_to_file(
6 text="كيف الحال؟ وش قاعد تسوي اليوم؟",
7 speaker_wav="reference_audios/hoda.wav",
8 language="ar",
9 file_path="output.wav",
10)1from TTS.tts.configs.xtts_config import XttsConfig
2from TTS.tts.models.xtts import Xtts
3
4config = XttsConfig()
5config.load_json("config.json")
6
7model = Xtts.init_from_config(config)
8model.load_checkpoint(
9 config,
10 checkpoint_dir=".", # directory containing model.pth, dvae.pth, etc.
11 use_deepspeed=False,
12)
13model.cuda()
14
15outputs = model.synthesize(
16 text="أبغى أقول لك عن the new project اللي قاعدين نشتغل عليه",
17 config=config,
18 speaker_wav="reference_audios/hoda.wav",
19 language="ar",
20)