speecht5_tts_voxpopuli_nl
This model is a fine-tuned version of microsoft/speecht5_tts on the VoxPopuli dataset. It achieves the following results on the evaluation set:
- Loss: 0.4642
Model description
SpeechT5 TTS fine-tuned for Dutch text-to-speech on the nl subset of VoxPopuli (HF Audio Course, Unit 6).
Data: VoxPopuli nl train, speakers with 100-400 utterances, inputs under 200 tokens; 7,433 train / 826 test examples (train_test_split(test_size=0.1, seed=42)).
Speaker embeddings are 512-d x-vectors from speechbrain/spkrec-xvect-voxceleb. Accented characters missing from the SpeechT5 vocabulary were mapped to plain letters (à→a, ç→c, è/ë→e, í/ï→i, ö→o, ü→u).
The uploaded weights are the best checkpoint by eval loss (step 3500 of 4000, eval loss 0.4641; re-evaluated before upload: 0.4642).
Usage: pass a 512-d x-vector as speaker_embeddings and decode the spectrogram with microsoft/speecht5_hifigan:
from transformers import SpeechT5Processor, SpeechT5ForTextToSpeech, SpeechT5HifiGan
processor = SpeechT5Processor.from_pretrained("HAizelf/speecht5_tts_voxpopuli_nl")
model = SpeechT5ForTextToSpeech.from_pretrained("HAizelf/speecht5_tts_voxpopuli_nl")
vocoder = SpeechT5HifiGan.from_pretrained("microsoft/speecht5_hifigan")
inputs = processor(text="Goedemorgen, hoe gaat het met u?", return_tensors="pt")
speech = model.generate_speech(inputs["input_ids"], speaker_embeddings, vocoder=vocoder) # 16 kHz waveform
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 1e-05
- train_batch_size: 4
- eval_batch_size: 2
- seed: 42
- gradient_accumulation_steps: 8
- total_train_batch_size: 32
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 500
- training_steps: 4000
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.5665 | 2.1463 | 500 | 0.5052 |
| 0.5335 | 4.2926 | 1000 | 0.4858 |
| 0.5174 | 6.4389 | 1500 | 0.4749 |
| 0.5103 | 8.5853 | 2000 | 0.4700 |
| 0.5073 | 10.7316 | 2500 | 0.4671 |
| 0.5043 | 12.8779 | 3000 | 0.4647 |
| 0.5033 | 15.0215 | 3500 | 0.4641 |
| 0.5006 | 17.1678 | 4000 | 0.4642 |
Framework versions
- Transformers 5.22.0
- Pytorch 2.15.0
- Datasets 3.6.0
- Tokenizers 0.23.3