Run this model with HF Jobs

Run Code-Quasar/voxcpm-tn on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/Code-Quasar/voxcpm-tn. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/Code-Quasar/voxcpm-tn on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Code-Quasar/voxcpm-tn

VoxCPM2 fine-tuned for Tunisian Derja.

  • base: openbmb/VoxCPM2 (2B, tokenizer-free, 48 kHz)
  • method: full fine-tuning, 147 steps
  • data: ~? h Tunisian read speech, 16 kHz mono

Important: the dialect tag

Every training transcript was prefixed with (Tunisian Dialect), so untagged text is out of distribution. Always prefix it:

from voxcpm import VoxCPM

model = VoxCPM.from_pretrained("Code-Quasar/voxcpm-tn", load_denoiser=False)
wav = model.generate(text="(Tunisian Dialect) عسلامة، شنوة أحوالك اليوم؟")

import soundfile as sf
sf.write("out.wav", wav, 48000)

On a GPU with under ~8 GB, disable compilation:

import os
os.environ["TORCHDYNAMO_DISABLE"] = "1"

Limitations

Trained on a small corpus of read speech, so expect limited prosodic range and weaker long-form phrasing. Derived from source corpora with their own licence terms; the voices belong to real speakers.

Downloads last month
63
Safetensors
Model size
2B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Code-Quasar/voxcpm-tn

Base model

openbmb/VoxCPM2
Finetuned
(58)
this model

Space using Code-Quasar/voxcpm-tn 1