Fine-tune SpeechT5 for non-English text-to-speech tasks, implemented in PyTorch.
This repository contains code and resources for fine-tuning (or training) a SpeechT5 model on a non-English language for a text-to-speech task. The project leverages Huggingface's transformers library and speechbrain to load necessary models and tools. Other parts of the code, such as data preprocessing and train and evaluate functions, have been fully implemented using PyTorch. Therefore, feel free to make any changes you need to train your model efficiently.
The main objective of this project is to fine-tune the SpeechT5 model for text-to-speech on a non-English language. The steps include:
Here are some generated samples from the model that I trained on the Persian Common Voice dataset.
Sample 1
Sample 2
Sample 3
Sample 4
Sample 5
This code draws lessons from:
https://huggingface.co/learn/audio-course/en/chapter6/fine-tuning
14 commits
Python
100.0%
Fine-tune SpeechT5 for non-English text-to-speech tasks, implemented in PyTorch.
This repository contains code and resources for fine-tuning (or training) a SpeechT5 model on a non-English language for a text-to-speech task. The project leverages Huggingface's transformers library and speechbrain to load necessary models and tools. Other parts of the code, such as data preprocessing and train and evaluate functions, have been fully implemented using PyTorch. Therefore, feel free to make any changes you need to train your model efficiently.
The main objective of this project is to fine-tune the SpeechT5 model for text-to-speech on a non-English language. The steps include:
Here are some generated samples from the model that I trained on the Persian Common Voice dataset.
Sample 1
Sample 2
Sample 3
Sample 4
Sample 5
This code draws lessons from:
https://huggingface.co/learn/audio-course/en/chapter6/fine-tuning
14 commits
Python
100.0%