BSC-LT / matxa-tts-v2-ca-central-graphemes

huggingface.co
Total runs: 70
24-hour runs: 0
7-day runs: -25
30-day runs: -8
Model's Last Updated: June 02 2026

Introduction of matxa-tts-v2-ca-central-graphemes

Model Details of matxa-tts-v2-ca-central-graphemes

🍵 Matxa-TTS (Matcha-TTS) v2 Central Catalan Graphemes

Table of Contents
Click to expand
Summary

Here we present Matxa-TTS 🍵 v2: a Catalan multispeaker neural TTS model working with graphemes. It works together with a vocoder model to generate high quality and expressive speech efficiently. You can use any vocoder such as 🥑 alVoCat or Wavenext .

Model Description

Matxa-TTS 🍵 is based on Matcha-TTS , an encoder-decoder architecture designed for fast acoustic modelling in TTS. The encoder part is based on a text encoder and a phoneme duration prediction that together predict averaged acoustic features. The decoder has essentially a U-Net backbone inspired by Grad-TTS , which is based on the Transformer architecture. By replacing 2D CNNs by 1D CNNs in the decoder, a large reduction in memory consumption and fast synthesis is achieved.

Matxa-TTS is a non-autorregressive model trained with optimal-transport conditional flow matching (OT-CFM). This yields an ODE-based decoder capable of generating high output quality in fewer synthesis steps than models trained using score matching.

Modifications
  1. Decoder's number of channels and attention head dimension were increased to 512 and 128, respectively
  2. Two timestep sampling techniques for diffusion were added: (1) stratified sampling, where each batch sample is assigned a different segment of [0,1) to guarantee uniform coverage of diffusion time; and (2) a cosine timestep scheduler
  3. A denoiser is implemented on the generated spectrogram during inference

For more details, please, check our new github repository branch.

Intended Uses and Limitations

This model is intended to serve as an acoustic feature generator for multispeaker text-to-speech systems for the Catalan language. It has been finetuned using a Catalan text, therefore if the model is used for other languages it will not produce intelligible samples after mapping its output into a speech waveform.

The quality of the samples can vary depending on the speaker. This may be due to the sensitivity of the model in learning specific frequencies and also due to the quality of samples for each speaker.

For more information see the licenses section under Additional information .

How to Use
Installation

Create a virtual environment:

python -m venv /path/to/venv
source /path/to/venv/bin/activate

Clone the repository:

git clone -b v2 --single-branch https://github.com/langtech-bsc/Matcha-TTS.git
cd Matcha-TTS

Install the package from source:

pip install -e .
Test on Collab Onnx

Try out Matxa-TTS v2 with graphemes with AlVoCat!

Note that input texts, if containing any numbers, need to be normalized!

Open In Colab
Training

This model has been trained in two stages:

  1. A pre-training stage using a subset of Catalan data from CommonVoice (CV). More specifically, we used the annotated subset of CV 17 , which includes the same Catalan accents as the final fine-tuning dataset. We created a smaller, balanced version in terms of accent distribution. Since the Northern accent had only around 2 hours of data, we retained all its samples. In total, we trained on 36.2 hours of data: Balearic (7.27h), Central (9.72h), Northern (1.49h), North-Western (9.21h), and Valencian (8.53h); with final hyperparameters:
  • Learning Rate → 1e-4
  • Scheduler → no
  • Batch Size → 32
  • GPUs → 2
  • Num. Steps → 150K (~12 hours with an H100)
  1. A fine-tuning stage using Openslr69 and Festcat The first two layers of Matxa's text encoder, and also the prenet and the embeddings were frozen, as they had already learned accent-specific phoneme sequences during pre-training. Given the smaller dataset, we allowed the model to focus more on the decoder and on refining the speaker embeddings for improved quality. The hyperparameters in this case are:
  • Learning Rate → 5e-4
  • Scheduler → Cosine Annealing with a minimum learning rate 5e-5
  • Batch Size → 32
  • GPUs → 2
  • Num. Steps → 12K (~2 hours with an H100)
Evaluation

We evaluated the model in terms of quality and intelligibility using a test set of 350 sentences extracted from La creació d'Eva i altres contes by Josep Carner i Puig-Oriol, available on Project Gutenberg. Speech quality was assessed using ScoreQ , a recent approach for evaluating synthesized speech. Intelligibility was measured by computing Word Error Rate (WER) and Character Error Rate (CER) using the whisper-bsc-large-v3-cat model, which was trained and evaluated on multi-accented Catalan data.

We implemented AlVoCat as a vocoder, already trained on Catalan data. For comparison, we evaluate Matxa-TTS using the same set of sentences. Our updated model, Matxa-TTS-v2-ca-central-graphemes, achieves better scores in both quality and intelligibility.

Model ScoreQ
Matxa-TTS-multispeaker 2.96
Matxa-TTS-v2-ca-central-graphemes 3,32
Model Mean WER Mean CER
Matxa-TTS-multispeaker 9,03 3,40
Matxa-TTS-v2-ca-central-graphemes 6,84 2,09
Citation

If this code contributes to your research, please cite the work:

@misc{LangtechVeu2025matxattsv2multispeaker,
      title={Catalan Multispeaker Text-to-Speech: Matxa-TTS v2}, 
      author={Jose Giraldo and Alex Peiró-Lilja},
      organization={Barcelona Supercomputing Center},
      url={https://huggingface.co/BSC-LT/matxa-tts-v2-ca-central-graphemes},
      year={2025}
}
Additional Information
Author

The Speech Team at the AI Institute, Barcelona Supercomputing Center.

Contact

For further information, please send an email to [email protected] .

Copyright

Copyright(c) 2025 by AI Institute, Barcelona Supercomputing Center.

License

GPL-3.0

Funding

This work is funded by the Ministerio para la Transformación Digital y de la Función Pública - Funded by EU – NextGenerationEU within the framework of the project ILENIA with reference 2022/TL22/00215337.

The conversion of the model was possible thanks to the computing time provided by Barcelona Supercomputing Center through MareNostrum 5.

Runs of BSC-LT matxa-tts-v2-ca-central-graphemes on huggingface.co

70
Total runs
0
24-hour runs
-3
3-day runs
-25
7-day runs
-8
30-day runs

More Information About matxa-tts-v2-ca-central-graphemes huggingface.co Model

More matxa-tts-v2-ca-central-graphemes license Visit here:

https://choosealicense.com/licenses/apache-2.0

matxa-tts-v2-ca-central-graphemes huggingface.co

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

matxa-tts-v2-ca-central-graphemes huggingface.co Url

https://huggingface.co/BSC-LT/matxa-tts-v2-ca-central-graphemes

BSC-LT matxa-tts-v2-ca-central-graphemes online free

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

BSC-LT matxa-tts-v2-ca-central-graphemes online free url in huggingface.co:

https://huggingface.co/BSC-LT/matxa-tts-v2-ca-central-graphemes

matxa-tts-v2-ca-central-graphemes install

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

matxa-tts-v2-ca-central-graphemes install url in huggingface.co:

https://huggingface.co/BSC-LT/matxa-tts-v2-ca-central-graphemes

Url of matxa-tts-v2-ca-central-graphemes

matxa-tts-v2-ca-central-graphemes huggingface.co Url

Provider of matxa-tts-v2-ca-central-graphemes huggingface.co

BSC-LT
ORGANIZATIONS

Other API from BSC-LT

huggingface.co

Total runs: 2.5K
Run Growth: 1.6K
Growth Rate: 64.48%
Updated:October 22 2025
huggingface.co

Total runs: 1.9K
Run Growth: 415
Growth Rate: 21.82%
Updated:October 22 2025
huggingface.co

Total runs: 1.9K
Run Growth: 1.3K
Growth Rate: 68.92%
Updated:October 22 2025
huggingface.co

Total runs: 1.4K
Run Growth: -2.1K
Growth Rate: -145.99%
Updated:April 10 2026
huggingface.co

Total runs: 922
Run Growth: 525
Growth Rate: 56.27%
Updated:March 27 2026
huggingface.co

Total runs: 406
Run Growth: 154
Growth Rate: 37.93%
Updated:August 07 2025
huggingface.co

Total runs: 383
Run Growth: 197
Growth Rate: 51.44%
Updated:October 26 2021
huggingface.co

Total runs: 321
Run Growth: 139
Growth Rate: 43.30%
Updated:April 10 2026
huggingface.co

Total runs: 283
Run Growth: -265
Growth Rate: -95.67%
Updated:April 10 2026
huggingface.co

Total runs: 208
Run Growth: -885
Growth Rate: -421.43%
Updated:April 10 2026
huggingface.co

Total runs: 136
Run Growth: 39
Growth Rate: 29.55%
Updated:April 22 2026
huggingface.co

Total runs: 122
Run Growth: 11
Growth Rate: 9.02%
Updated:October 29 2024
huggingface.co

Total runs: 119
Run Growth: 16
Growth Rate: 13.45%
Updated:September 06 2021
huggingface.co

Total runs: 60
Run Growth: 52
Growth Rate: 86.67%
Updated:September 10 2024