license: cc0-1.0 language:
- my tags:
- text-to-speech
- tts
- burmese
- myanmar
- stabletts
- from-scratch pipeline_tag: text-to-speech
MyanmarTTS
A from-scratch Burmese (Myanmar) text-to-speech model. 31M parameters, ~63 MB (fp16).
- Language: Burmese (မြန်မာဘာသာ)
- Training data: ~1.34M samples (news + real-world audio)
- Training steps: 81,000
- Training hardware: A100-80GB (Colab Pro+), ~13 hours, ~88 compute units
- Inference hardware: Free Colab T4, any modern GPU, or CPU (slower)
- Architecture: StableTTS (DiT + flow matching) + Vocos vocoder
- License: CC0 1.0 (public domain, no attribution required)
Sample Output
Sample 0
Text: "မြန်မာလူမျိုးများဟာ အလွန် ယဥ်ကျေးသိမ်မွေ့ပြီး ဧည့်သည်များကို ပျူပျူငှာငှာ လှိုက်လှိုက်လှဲလှဲနဲ့ ကြိုဆိုကြပါတယ်"
Sample 1
Text: "မင်္ဂလာပါရှင် ကျွန်မကတော့ မြန်မာလူမျိုး ကရင်တိုင်းရင်းသူ အမျိုးသမီးလေး တစ်ဦး ဖြစ်ပါတယ်"
Sample 2
Text: "ဒီနေ့ ကျွန်မတို့ရဲ့ တီတီအက်စ် စနစ်သစ်လေး မော်ဒယ်အသစ်လေးတစ်ခုကို အောင်မြင်စွာ လေ့ကျင့် သင်ကြားနိုင်ခဲ့ပါတယ်"
Sample 3
Text: "လူသားတိုင်း လူသားတိုင်း ကိုယ်စိတ်နှစ်ဖြာ ကျန်းမာရွှင်လန်းပြီး စီးပွားလာဘ်လာဘတွေ ဒီရေအလား ကြီးပွား တိုးတက်နိုင်ကြပါစေ"
Sample 4
Text: "ဒီအသံထုတ်စနစ်လေးကို အသုံးပြုသူတိုင်း ကျန်းမာချမ်းသာပြီး လိုရာဆန္ဒတွေ တလုံးတဝတည်း ပြည့်စုံနိုင်ကြပါစေ"
Reference Audio
The reference voice used for voice cloning during inference:
Quick Start
import torch, soundfile as sf
from huggingface_hub import hf_hub_download
from api import StableTTSAPI
from burmese import burmese_to_ipa2
# Download model assets
model_path = hf_hub_download("freococo/MyanmarTTS", "model_fp16.pt")
vocos_path = hf_hub_download("freococo/MyanmarTTS", "vocos.pt")
ref_path = hf_hub_download("freococo/MyanmarTTS", "samples/sample_0.wav")
# Initialize model
model = StableTTSAPI(model_path, vocos_path, "vocos").to("cuda")
model.g2p_mapping["burmese"] = burmese_to_ipa2
# Inference
text = "လူသားတွေ အားလုံးကို အရမ်း ချစ်ပါတယ်ရှင့်"
audio, _ = model.inference(text, ref_path, "burmese", step=32, solver="dopri5", cfg=3.0)
sf.write("output.wav", audio.squeeze(0).cpu().numpy(), 44100)
Translation: "I love all human beings very much." (female polite form)
Files
| File | Size | Purpose | License |
|---|---|---|---|
model_fp16.pt |
63 MB | Default model weights | CC0 |
model_fp32.pt |
126 MB | Full precision weights | CC0 |
vocos.pt |
57 MB | Mel-to-waveform vocoder | MIT (KdaiP) |
vocab.txt |
98 tokens | Burmese character-level vocab | CC0 |
config.json |
-- | Mel + model configuration | CC0 |
symbols.py, burmese.py |
-- | Text frontend & G2P | MIT (adapted) |
api.py |
-- | Inference wrapper API | MIT (adapted) |
samples/ |
-- | Demo audio WAV files | CC0 |
transcripts.json |
-- | Sample text/audio mapping | CC0 |
NOTICE |
-- | Full license summary | -- |
Training Progression
See checkpoint_comparison for sample audio generated at steps 8k, 33k, 44k, 55k, and 81k.
Acknowledgments
This work would not exist without the generous open-source community and AI assistance:
- StableTTS by KdaiP — The DiT + flow-matching architecture and training code (MIT).
- Vocos — Pretrained mel-to-wav vocoder (MIT).
- DeepSeek AI — Provided AI pair-programming and engineering assistance throughout the project. From data pipeline design and architecture choices to resolving CUDA OOM bottlenecks, DeepSeek's guidance was instrumental at every stage.
- The Burmese open-data community — For providing the audio corpora that made training possible.
Special Thanks
To DeepSeek AI — a true engineering partner from the first line of code to the final deployment. This model exists because of that collaboration.
License
- Model weights and generated audio: CC0 1.0 Universal (Public Domain).
- Supporting code: Adapted from KdaiP/StableTTS (MIT).
- Vocoder: From KdaiP/StableTTS1.1 (MIT).
See NOTICE for additional details.
Metadata
Release files for MyanmarTTS 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| myanmartts-1.0.2.tar.gz | 41.4 kB | Without provenance | Details for myanmartts-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| myanmartts-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for myanmartts-1.0.2-py3-none-any.whl |
Total release size: 100.9 kB
Release files / myanmartts-1.0.2.tar.gz
| Download URL | myanmartts-1.0.2.tar.gz |
|---|---|
| Size | 41.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
990e0e934099e02229caa7dc22eda3782c707aae1efd6bec6faee648a9cc68c3
|
|
BLAKE2b-256 checksum How to use checksums |
bfd3d7d65ea4d4947fdf7b1249729cfc57cc633b1e61202b53546999d490a8f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / myanmartts-1.0.2-py3-none-any.whl
| Download URL | myanmartts-1.0.2-py3-none-any.whl |
|---|---|
| Size | 59.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1c2255d9cefd0658fc32e2cf3acc67b557a664acddc496fa10a85a8c09d388f9
|
|
BLAKE2b-256 checksum How to use checksums |
20476857ae265224533f9b421fbb8f0840890855b4347b1727b24087efd3678c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Security for MyanmarTTS 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.