PAWP-TTS 300K (v3)
Ultra-Compact 281K-Parameter (1.12 MB FP32) Bilingual EnglishโNepali Streaming Neural TTS
PAWP-TTS 300K is an ultra-compact, decoder-centric (52.6% of budget in the 24 kHz iSTFT waveform decoder) bilingual neural text-to-speech model supporting English, Nepali, and EnglishโNepali code-mixed speech in 281,078 unique stored parameters (328,158 materialized total parameters, 1.12 MB FP32, ~280 KB INT8, 20.96 MMAC/s). It synthesizes 24 kHz audio end-to-end without any large language model at inference time.
- Code & Architecture: github.com/Firojpaudel/PAWP_TTS
- Audio Showcase Space: huggingface.co/spaces/Firoj112/pawp-tts-demo
- Flagship 1.5M Companion (
5.98 MB): Firoj112/pawp-tts-1.5m - Audio Output: 24,000 Hz PCM (
ConvNeXt1D+iSTFT,n_fft=512,hop=240)
Audio Samples (24 kHz, Single Target Voice)
Listen directly to unedited outputs from this 281K-parameter checkpoint (model.safetensors, EXP-015b v3 Shared-Basis):
Nepali (Kathmandu Standard)
English
EnglishโNepali Code-Mixed (Devanagari + Latin)
4-Metric Parameter & Footprint Standard
Every learned inference component is counted (embeddings, articulatory conditioning, encoder, duration/pitch/voicing/energy predictors, acoustic network, speaker embedding, and 24 kHz iSTFT neural decoder):
| Variant in This Repo | unique_stored_params |
total_params (materialized) |
effective_compute_params |
FP32 / FP16 / INT8 | File |
|---|---|---|---|---|---|
PAWP-300K Shared (K=2 bases, Default) |
281,078 |
328,158 |
309,702 (20.96 MMAC/s) |
1.12 MB / 0.56 MB / 0.28 MB |
model.safetensors |
Dense-300K Baseline (0 shared bases) |
281,442 |
281,442 |
262,986 |
1.13 MB / 0.56 MB / 0.28 MB |
variants/dense_300k_v3.safetensors |
Evaluation Results & Transparent Equal-Budget Ablation
Both 281K variants were trained from scratch on identical clean v3 data (seed=42, 36k steps, 2.25 h on RTX 4090). We include both weights and report the full trade-off transparently:
Model (v3) |
Unique / Total Params | best_val_mel |
Held-Out ASR EN (n=30) |
Held-Out ASR NE (n=30) |
Held-Out ASR Mix (n=9) |
Untouched Test PER (n=300+300) |
CTC 77-Pair Acoustic Distinct / Exact |
|---|---|---|---|---|---|---|---|
PAWP-300K Shared (EXP-015b, Default) |
281,078 / 328,158 |
0.8768 |
6.88% / 2.93% |
19.71% / 5.93% |
12.02% / 5.01% |
NE 6.35 ยฑ 0.11% ยท EN 6.57 ยฑ 0.47% |
60/77 (77.9%) / 30/77 (39.0%) |
Dense-300K Baseline (EXP-015c, Included) |
281,442 / 281,442 |
0.8778 |
6.15% / 2.42% |
20.21% / 6.59% |
18.09% / 9.01% |
NE 5.53 ยฑ 0.08% ยท EN 5.34 ยฑ 0.28% |
61/77 (79.2%) / 29/77 (37.7%) |
Reference: PAWP-1.5M v3 (EXP-015a) |
1,490,390 / 1,490,390 |
โ | 4.02% / 1.50% |
12.35% / 1.75% |
12.32% / 5.32% |
NE 5.04% ยท EN 4.02% |
64/77 (83.1%) / 45/77 (58.4%) |
Independent Re-Scoring (3 seeds: 42, 101, 202)
Re-scored with two recognizers that played no part in training or data filtering: a second mixed-script ASR, and the public wav2vec2-xlsr-53-espeak-cv-ft phone recognizer.
EN CER (n=30) |
NE CER (n=30) |
EN PER (n=300) |
NE PER (n=300) |
Code-Mix WER / CER (n=160) |
|
|---|---|---|---|---|---|
| Human recordings | 0.68% |
22.65% |
13.44% |
34.12% |
โ |
Shared (model.safetensors) |
4.10 ยฑ 0.52% |
21.07 ยฑ 1.93% |
16.28 ยฑ 1.14% |
40.51 ยฑ 0.42% |
18.78% / 9.35% |
Dense (variants/dense_300k_v3.safetensors) |
2.44 ยฑ 1.20% |
20.18 ยฑ 0.78% |
14.83 ยฑ 0.32% |
38.69 ยฑ 0.62% |
18.78% / 9.00% |
- Dense beats Shared on phone error in all 6 seed ร language pairs (paired t-test p = 0.010).
- Shared's earlier code-mix advantage did not reproduce: on 160 sentences across 3 seeds the two tie.
- For the best pronunciation, use the Dense variant. It is also 14% cheaper to run.
- The independent recognizers are weak on Nepali, so treat absolute Nepali numbers as coarse.
Earlier Ablation Note (training-time metrics) (3-Seed Confirmed: seeds 42, 101, 202): PAWP-300K Shared (model.safetensors) is provided as the default checkpoint based on lower val_mel, stronger val_energy / perceived audibility, better Nepali ASR CER (5.93% vs 6.59%), and stronger Code-Mix ASR (12.02% vs 18.09%, n=9; not reproduced at n=160, see above). However, across 3 independent seeds (42, 101, 202) on the larger untouched 300+300 test.jsonl phoneme error rate benchmark (ctc_aligner_v3.pt), equal-unique-parameter Dense-300K (variants/dense_300k_v3.safetensors) reproducibly achieved lower monolingual PER on 3/3 seeds (NE 5.53 ยฑ 0.08% vs. 6.35 ยฑ 0.11%; EN 5.34 ยฑ 0.28% vs. 6.57 ยฑ 0.47%) with 14.2% fewer materialized compute parameters. Both checkpoints are included so researchers and developers can choose directly.
Quickstart
git clone https://github.com/Firojpaudel/PAWP_TTS.git
cd PAWP_TTS
uv sync
hf download Firoj112/pawp-tts-300k model.safetensors config.yaml --local-dir ./checkpoints/pawp-300k
uv run pawp synth \
--checkpoint ./checkpoints/pawp-300k/model.safetensors \
--config ./checkpoints/pawp-300k/config.yaml \
--text "เคคเคพเคคเฅ เคเคฟเคฏเคพ เคฐ เคเฅเคฏเคพเคเคเฅ เคธเฅเคชเคฒเฅ เคเคพเคกเฅ เคฎเฅเคธเคฎเคฎเคพ เคถเคฐเฅเคฐเคฒเคพเค เคจเคฟเคเฅ เคเคฐเคพเคฎ เคฆเคฟเคจเฅเคเฅค" \
--output sample_300k.wav
Folded monolingual English and Nepali ONNX inference graphs are also included in onnx/.
Limitations
- At
281Kparameters (5.3xsmaller thanPAWP-1.5M), fine spectral detail and rare consonant clusters are noticeably softer thanPAWP-1.5M v3. - Single target speaker identity at inference time (no zero-shot voice cloning).
- No listening test (MOS) has been run yet. Training-time metrics are partly circular. The independent recognizers used to address this are weak on Nepali, and the monolingual held-out ASR sets are small (
n=30per language).
Responsible Use
Do not use this model to impersonate real people or to produce audio presented as genuine recordings of a person without consent.
License
- Weights, ONNX graphs, and audio samples: Licensed under CC BY 4.0 (attribution required; see
LICENSEandNOTICEin this repository, and cite as below). - Source code: Licensed under the Apache License 2.0 at https://github.com/Firojpaudel/PAWP_TTS.
Citation
If you use these weights, please cite PAWP-TTS.
@software{paudel2026pawptts,
author = {Paudel, Firoj},
title = {{PAWP-TTS}: Phoneme-Aware Weight Programming for Compact Bilingual English--Nepali Speech Synthesis},
year = {2026},
url = {https://github.com/Firojpaudel/PAWP_TTS}
}
- Downloads last month
- 76
Spaces using Firoj112/pawp-tts-300k 3
Evaluation results
- Nepali ASR WER on Held-Out Bilingual Evaluation Suiteself-reported19.710
- Nepali ASR CER on Held-Out Bilingual Evaluation Suiteself-reported5.930
- Code-Mixed ASR WER on Held-Out Bilingual Evaluation Suiteself-reported12.020
- Code-Mixed ASR CER on Held-Out Bilingual Evaluation Suiteself-reported5.010
- English ASR WER on Held-Out Bilingual Evaluation Suiteself-reported6.880
- English ASR CER on Held-Out Bilingual Evaluation Suiteself-reported2.930