This checkpoint contains a SpeechBrain Unit HiFi-GAN vocoder. It converts discrete speech units into waveform audio and uses the speechbrain.lobes.models.HifiGAN.UnitHifiganGenerator architecture together with a HiFi-GAN discriminator.
The saved hyperparameters indicate a multi-speaker discrete-unit setup with the following key settings:
vocab_size: 1001
embedding_dim: 1024
in_channels: 1216
out_channels: 1
resblock_type: 1
upsample_factors: [5, 4, 4, 2, 2]
upsample_kernel_sizes: [11, 8, 8, 4, 4]
duration_predictor: False
multi_speaker: True
The speaker encoder used for training and speaker conditioning was speechbrain/spkrec-ecapa-voxceleb-mel-spec. During inference, the vocoder is driven by precomputed speaker embeddings, with the provided script mapping speaker names such as miren, nerea, and jon to their corresponding embedding files.
Following voices are supported with their indices being the speaker id.
Find their respective speaker embedding vector in ./speaker_embeddings/{idx}_XXXXX.npy.
For example, klara_eu speaker embedding is stored in ./speaker_embedding/9_*.npy.
This model is intended for research and inference workflows that need waveform synthesis from discrete speech units. It is suitable for unit-based TTS or speech-to-speech pipelines when the unit extractor, tokenization, and sampling settings match the training setup.
Model Inputs and Outputs
Input:
A sequence of discrete speech units.
Optional speaker conditioning, when used by the surrounding pipeline.
Speaker conditioning is supplied through the speaker embedding extracted by the ECAPA-TDNN speaker encoder above, rather than by raw speaker IDs.
Output:
A generated waveform with one audio channel.
Training and Checkpoint Notes
This folder stores the checkpoint state at epoch 500, along with the generator, discriminator, optimizer, and scheduler states used during training.
The exact corpus used for this run is not documented in this README. Use the matching experiment configuration or recipe alongside this checkpoint if you need the original data provenance, preprocessing, or evaluation protocol.
Limitations
Output quality depends on using the same or compatible unit extractor and preprocessing pipeline used during training.
This checkpoint is not guaranteed to generalize well to out-of-domain speakers, recording conditions, or unit tokenizers.
The README does not report a formal benchmark table, so treat this as a model artifact description rather than an evaluation report.
Loading
In SpeechBrain, this checkpoint is typically loaded with speechbrain.inference.vocoders.UnitHIFIGAN using the checkpoint directory as the source.
Training command used by the recipe (examples only):