Serialtechlab / xtts-v2-dhivehi

huggingface.co
Total runs: 4
24-hour runs: 0
7-day runs: 0
30-day runs: 4
Model's Last Updated: March 14 2026
text-to-speech

Introduction of xtts-v2-dhivehi

Model Details of xtts-v2-dhivehi

XTTS v2 - Dhivehi (Thaana)

Fine-tuned XTTS v2.0 for Dhivehi (Maldivian, Thaana script) text-to-speech with zero-shot voice cloning.

Model Details
  • Base model: XTTS v2.0 (Coqui)
  • Language: Dhivehi (dv) - Thaana script
  • Architecture: GPT-2 + DVAE + HiFiGAN vocoder
  • Audio: 24kHz output
  • Training step: 95366
Training Data

59,000 samples ( 75+ hours) from multiple Dhivehi speech sources:

Usage
Install
pip install coqui-tts
Inference
import torch, torchaudio
from TTS.tts.configs.xtts_config import XttsConfig
from TTS.tts.models.xtts import Xtts

# Download all files from this repo into a local directory

config = XttsConfig()
config.load_json("config.json")

model = Xtts.init_from_config(config)
model.load_checkpoint(
    config,
    checkpoint_path="model.pth",
    vocab_path="vocab.json",
    eval=True,
    strict=False,
)
model.cuda()

# Get speaker embedding from a reference WAV (5-15 sec of clean speech)
gpt_cond_latent, speaker_embedding = model.get_conditioning_latents(
    audio_path=["reference.wav"],
    gpt_cond_len=24,
    gpt_cond_chunk_len=4,
)

# Generate speech
out = model.inference(
    text="\u0784\u07a8\u0790\u07b0\u0789\u07a8\ufdf2 \u0783\u07a6\u0781\u07aa\u0789\u07a7\u0782\u07a8 \u0783\u07a6\u0781\u07a9\u0789\u07a8",
    language="dv",
    gpt_cond_latent=gpt_cond_latent,
    speaker_embedding=speaker_embedding,
    temperature=0.7,
)

wav = torch.tensor(out["wav"]).unsqueeze(0)
torchaudio.save("output.wav", wav, 24000)
Files
  • model.pth - Fine-tuned GPT checkpoint
  • config.json - Model configuration
  • vocab.json - Extended BPE vocabulary (base XTTS + Thaana characters)
  • dvae.pth - Discrete VAE (from base XTTS v2.0)
  • mel_stats.pth - Mel spectrogram normalization stats (from base XTTS v2.0)
Limitations
  • Voice cloning quality depends on the reference audio (clean, 5-15 seconds recommended)
  • Text longer than ~300 characters may be truncated
  • Some rare Dhivehi words may be mispronounced
  • Model is still being actively trained - newer checkpoints may be uploaded
License

This model inherits the Coqui Public Model License from the base XTTS v2.0 model.

Runs of Serialtechlab xtts-v2-dhivehi on huggingface.co

4
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
4
30-day runs

More Information About xtts-v2-dhivehi huggingface.co Model

xtts-v2-dhivehi huggingface.co

xtts-v2-dhivehi huggingface.co is an AI model on huggingface.co that provides xtts-v2-dhivehi's model effect (), which can be used instantly with this Serialtechlab xtts-v2-dhivehi model. huggingface.co supports a free trial of the xtts-v2-dhivehi model, and also provides paid use of the xtts-v2-dhivehi. Support call xtts-v2-dhivehi model through api, including Node.js, Python, http.

Serialtechlab xtts-v2-dhivehi online free

xtts-v2-dhivehi huggingface.co is an online trial and call api platform, which integrates xtts-v2-dhivehi's modeling effects, including api services, and provides a free online trial of xtts-v2-dhivehi, you can try xtts-v2-dhivehi online for free by clicking the link below.

Serialtechlab xtts-v2-dhivehi online free url in huggingface.co:

https://huggingface.co/Serialtechlab/xtts-v2-dhivehi

xtts-v2-dhivehi install

xtts-v2-dhivehi is an open source model from GitHub that offers a free installation service, and any user can find xtts-v2-dhivehi on GitHub to install. At the same time, huggingface.co provides the effect of xtts-v2-dhivehi install, users can directly use xtts-v2-dhivehi installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

xtts-v2-dhivehi install url in huggingface.co:

https://huggingface.co/Serialtechlab/xtts-v2-dhivehi

Url of xtts-v2-dhivehi

Provider of xtts-v2-dhivehi huggingface.co

Serialtechlab
ORGANIZATIONS

Other API from Serialtechlab