Downloads · 30 days
0
Satyam0077/lightweight-phoneme-tts
lightweight-phoneme-tts is a text-to-speech model from Satyam0077. Use it when you need text read aloud. It is set up for pytorch. The card lists the license as mit.
This repository implements a lightweight phoneme-based Text-to-Speech (TTS) system trained on paired text–audio data. The model follows a NanoSpeech-inspired Conv1D encoder–decoder architecture that reconstructs mel-s…
Downloads · 30 days
0
Access
Public
Updated Jan 5, 2026
Repo size
6 MB
Likes
1
Public
Click a slice to open those files.
.wav4.2 MB · 67%
From the Hugging Face model README
This repository implements a lightweight phoneme-based Text-to-Speech (TTS) system trained on paired text–audio data. The model follows a NanoSpeech-inspired Conv1D encoder–decoder architecture that reconstructs mel-spectrograms from phoneme inputs, which are converted to waveforms using the Griffin–Lim vocoder.
This project is intended for educational and research purposes, focusing on simplicity, interpretability, and core TTS fundamentals.
tts_model.pthThe model learns basic phoneme-to-acoustic mappings and produces intelligible speech while remaining computationally lightweight.
metadata.csv containing text and corresponding audio filenames.wav files aligned with metadata entriesText is converted to ARPAbet phonemes using the g2p-en library.
"I invite you to embark on a profound journey" AY1 IH2 N V AY1 T Y UW1 T UW1 EH0 M B AA1 R K AA1 N AH0 P R OW0 F AW1 N D JH ER1 N IY0
train_tts.ipynbThe model is trained to minimize reconstruction error between predicted and ground-truth mel-spectrograms.
Evaluation was performed on 3 held-out samples using L1 and L2 similarity metrics.
| Sample | Dataset Index | L1 Loss | L2 Loss |
|---|---|---|---|
| 1 | 73 | 3.8363 | 24.6055 |
| 2 | 415 | 4.2695 | 30.8383 |
| 3 | 392 | 3.9636 | 26.2839 |
Ground-truth and synthesized audio samples are available in:
results/audio_samples/ ├── gt_73.wav ├── pred_73.wav ├── gt_415.wav ├── pred_415.wav ├── gt_392.wav ├── pred_392.wav └── ground_truth.wav
This model is intended for:
It is not intended for production or commercial deployment.
This project is released under the MIT License.