A LoRA adapter for
Coqui XTTS v2.0 fine-tuned on Egyptian Arabic conversational speech. Trained as part of a synthetic speech dataset generation pipeline that processes real audio clips into speaker-conditioned TTS models for scalable data augmentation.
The LoRA adapter preserves the base model's multilingual capabilities while improving dialectal Egyptian Arabic synthesis. Full training logs available on
Weights & Biases.
Requires the base XTTS v2.0 files (
vocab.json,
dvae.pth,
mel_stats.pth) from
coqui/XTTS-v2.
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_path="best_model_merged.pth",
11 vocab_path="vocab.json", # from coqui/XTTS-v2
12 eval=True,
13 use_deepspeed=False,
14)
15model.cuda()
16
17outputs = model.synthesize(
18 "النهارده حنتكلم عن موضوع مهم جداً",
19 config,
20 speaker_wav="reference.wav",
21 language="ar",
22)
Built with
Coqui TTS,
PEFT, and
Modal for cloud GPU training. Experiment tracking via
Weights & Biases.