Official code for"DiaMoE-TTS: A Unified IPA-based Dialect TTS Framework with Mixture-of-Experts and Parameter-Efficient Zero-Shot Adaptation"
See the code
This repository is designed to provide a comprehensive implementation for the series of research results of our unified dialect TTS. Specifically, this repository includes:
Short Intro on DiaMoE-TTS:
Dialect speech embodies rich cultural and linguistic diversity, yet building text-to-speech (TTS) systems for dialects remains challenging due to scarce data, inconsistent orthographies, and complex phonetic variation. To address these issues, we present DiaMoE-TTS, a unified IPA-based framework that standardizes phonetic representations and resolves grapheme-to-phoneme ambiguities. Built upon the F5-TTS architecture, the system introduces a dialect-aware Mixture-of-Experts (MoE) to model phonological differences and employs parameter-efficient adaptation with Low-Rank Adaptors (LoRA) and Conditioning Adapters for rapid transfer to new dialects. Unlike approaches dependent on large-scale or proprietary resources, DiaMoE-TTS enables scalable, open-data-driven synthesis. Experiments demonstrate natural and expressive speech generation, achieving zero-shot performance on unseen dialects and specialized domains such as Peking Opera with only a few hours of data.
The International Phonetic Alphabet (IPA) is the most widely used phonetic annotation system in the investigation and study of Chinese dialects. The vast majority of Chinese dialect corpora, including homophone tables, dictionaries and texts, utilize the IPA for phonetic transcription. The phonetic annotation system for this project is based on the IPA. It constructs a highly scalable phoneme inventory (currently containing 442 units) from a base of 100+ IPA phoneme symbols. This system is designed to support the phonetic annotation of all known Chinese dialects and is also extensible to European languages. (It currently supports 11 dialects and Mandarin; its validity has also been verified for English, French, German and the Bildts dialect of Dutch).
Regarding the construction details of the IPA dialect frontend system, please refer to:
# clone code
git clone https://github.com/GiantAILab/DiaMoE-TTS.git
cd DiaMoE-TTS
# conda environment
conda create -n diamoetts python=3.10
conda activate diamoetts
cd diamoe_tts
pip install -e .
cd diamoe_tts
accelerate launch --config_file default_config.yaml \
src/f5_tts/train/train.py \
--config-name diamoetts.yaml
bash ./src/f5_tts/infer/batch_infer.sh
See diamoe_tts for more details.
cd dialect_frontend
bash single_frontend.sh 1-6 <dialect_name> <input_file.txt>
See ipa_frontend for more details.
We utilize the Common Voice Cantonese dataset, the Emilia Mandarin dataset and dialectal data
from the KeSpeech corpus and a open-source Sourthern Min dataset for training.
We release the frontend of the 🤗open-source dataset IPA,🔮open-source dataset IPA
| Model | 🤗 Hugging Face | 👷 Status |
|---|---|---|
| 🚀 MLPexpert_base_model | ✅ | |
| 🚀 yunbai(Peking Opera)_lora | ✅ | |
| 🚀 jingbai(Peking Opera)_lora | ✅ | |
| 🚀 nanjing_lora | ✅ | |
| 🛠️ our g2pw | ✅ |
Our code is released under MIT License.
If you find our model helpful, please consider citing our projects 📝 and staring us ⭐️!
@article{chen2025diamoe,
title={DiaMoE-TTS: A Unified IPA-Based Dialect TTS Framework with Mixture-of-Experts and Parameter-Efficient Zero-Shot Adaptation},
author={Chen, Ziqi and Chen, Gongyu and Wang, Yihua and Ding, Chaofan and Zhang, Wei-Qiang and others},
journal={arXiv preprint arXiv:2509.22727},
year={2025}
}
20 commits
Python
99.4%
Official code for"DiaMoE-TTS: A Unified IPA-based Dialect TTS Framework with Mixture-of-Experts and Parameter-Efficient Zero-Shot Adaptation"
See the code
This repository is designed to provide a comprehensive implementation for the series of research results of our unified dialect TTS. Specifically, this repository includes:
Short Intro on DiaMoE-TTS:
Dialect speech embodies rich cultural and linguistic diversity, yet building text-to-speech (TTS) systems for dialects remains challenging due to scarce data, inconsistent orthographies, and complex phonetic variation. To address these issues, we present DiaMoE-TTS, a unified IPA-based framework that standardizes phonetic representations and resolves grapheme-to-phoneme ambiguities. Built upon the F5-TTS architecture, the system introduces a dialect-aware Mixture-of-Experts (MoE) to model phonological differences and employs parameter-efficient adaptation with Low-Rank Adaptors (LoRA) and Conditioning Adapters for rapid transfer to new dialects. Unlike approaches dependent on large-scale or proprietary resources, DiaMoE-TTS enables scalable, open-data-driven synthesis. Experiments demonstrate natural and expressive speech generation, achieving zero-shot performance on unseen dialects and specialized domains such as Peking Opera with only a few hours of data.
The International Phonetic Alphabet (IPA) is the most widely used phonetic annotation system in the investigation and study of Chinese dialects. The vast majority of Chinese dialect corpora, including homophone tables, dictionaries and texts, utilize the IPA for phonetic transcription. The phonetic annotation system for this project is based on the IPA. It constructs a highly scalable phoneme inventory (currently containing 442 units) from a base of 100+ IPA phoneme symbols. This system is designed to support the phonetic annotation of all known Chinese dialects and is also extensible to European languages. (It currently supports 11 dialects and Mandarin; its validity has also been verified for English, French, German and the Bildts dialect of Dutch).
Regarding the construction details of the IPA dialect frontend system, please refer to:
# clone code
git clone https://github.com/GiantAILab/DiaMoE-TTS.git
cd DiaMoE-TTS
# conda environment
conda create -n diamoetts python=3.10
conda activate diamoetts
cd diamoe_tts
pip install -e .
cd diamoe_tts
accelerate launch --config_file default_config.yaml \
src/f5_tts/train/train.py \
--config-name diamoetts.yaml
bash ./src/f5_tts/infer/batch_infer.sh
See diamoe_tts for more details.
cd dialect_frontend
bash single_frontend.sh 1-6 <dialect_name> <input_file.txt>
See ipa_frontend for more details.
We utilize the Common Voice Cantonese dataset, the Emilia Mandarin dataset and dialectal data
from the KeSpeech corpus and a open-source Sourthern Min dataset for training.
We release the frontend of the 🤗open-source dataset IPA,🔮open-source dataset IPA
| Model | 🤗 Hugging Face | 👷 Status |
|---|---|---|
| 🚀 MLPexpert_base_model | ✅ | |
| 🚀 yunbai(Peking Opera)_lora | ✅ | |
| 🚀 jingbai(Peking Opera)_lora | ✅ | |
| 🚀 nanjing_lora | ✅ | |
| 🛠️ our g2pw | ✅ |
Our code is released under MIT License.
If you find our model helpful, please consider citing our projects 📝 and staring us ⭐️!
@article{chen2025diamoe,
title={DiaMoE-TTS: A Unified IPA-Based Dialect TTS Framework with Mixture-of-Experts and Parameter-Efficient Zero-Shot Adaptation},
author={Chen, Ziqi and Chen, Gongyu and Wang, Yihua and Ding, Chaofan and Zhang, Wei-Qiang and others},
journal={arXiv preprint arXiv:2509.22727},
year={2025}
}
20 commits
Python
99.4%