Downloads · 30 days
14
10% of all-time downloads
TBOGamer22/nemo-sindhi-g2p-conformer
nemo-sindhi-g2p-conformer is a other model from TBOGamer22. Use it for the other task on the model card, and read the license before you ship it in a product. It is set up for nemo. The card lists the license as mit.
Sindhi Conformer G2P converts Pakistani Sindhi-script text into broad IPA-style phoneme strings. It is a compact character-level Conformer CTC model built for TTS preprocessing, pronunciation-label bootstrapping, and…
Downloads · 30 days
14
10% of all-time downloads
All-time downloads
135
Public
Repo size
116 MB
Likes
0
Public
Click a slice to open those files.
.ckpt87.3 MB · 75%
From the Hugging Face model README
Sindhi Conformer G2P converts Pakistani Sindhi-script text into broad IPA-style phoneme strings. It is a compact character-level Conformer CTC model built for TTS preprocessing, pronunciation-label bootstrapping, and speech-dataset quality checks.
This model belongs to the Pakistani Languages G2P Family alongside the Pashto Conformer G2P. The family is designed to grow into a consistent set of practical G2P models for Pakistan's languages.
| File | Purpose |
|---|---|
sindhi_conformer_g2p.nemo | Main portable NeMo model artifact |
model_config.yaml | Architecture configuration with repository-local tokenizer paths |
tokenizers/ | Sindhi grapheme and IPA character vocabularies |
inference.py | Local and Hub-backed inference CLI |
LICENSE | MIT License |
release_metadata.json | Selected checkpoint and measured release metrics |
training_artifacts/sindhi-conformer-g2p-epoch=11-val_per=0.0113.ckpt | Best validation checkpoint |
Install the dependencies:
pip install -r requirements.txt
Run from a cloned repository:
python inference.py --text "سنڌي ٻولي اسان جي سڃاڻپ آهي"
The same script can download the model directly from Hugging Face when the local .nemo file is absent:
python inference.py --repo-id TBOGamer22/nemo-sindhi-g2p-conformer --text "تعليم انسان جي زندگي بدلائي ٿي"
Batch a UTF-8 text file containing one sentence per line:
python inference.py --text-file inputs.txt --batch-size 32 --json
Force CPU inference:
python inference.py --device cpu --text "هي هڪ آزمائشي جملو آهي"
Training was intentionally stopped after the validation pass for epoch 11. The release uses the best fully saved checkpoint rather than the interrupted partial epoch. That checkpoint was evaluated on the held-out test set.
| Metric | Value |
|---|---|
| Best validation PER | 1.1322% |
| Test weighted PER | 1.0743% |
Test phoneme accuracy (1 - PER) | 98.9257% |
| Test phoneme-word WER | 2.7168% |
Test phoneme-word accuracy (1 - WER) | 97.2832% |
| Exact utterance matches | 352 / 392 (89.7959%) |
| Test mean row PER | 0.7760% |
| Test median row PER | 0.0000% |
| Test rows | 392 |
Selected checkpoint: sindhi-conformer-g2p-epoch=11-val_per=0.0113.ckpt
PER is character-level Levenshtein distance divided by reference IPA-character count. Weighted PER aggregates edits and reference units across the complete test split.
This model is not an ASR system, general language model, translator, dialect classifier, or narrow phonetic transcriber.
Review outputs before using them for linguistic claims or high-stakes applications. TTS and corpus-building workflows should retain human review for names, dialectal vocabulary, and code-switched utterances.
This model is released under the MIT License.
Developed and released by:
Talha Bin Omar
If you use this model, please cite it as:
@misc{binomar2026sindhi_conformer_g2p,
title = {Sindhi Conformer G2P: An Open-Source Grapheme-to-Phoneme Model for Pakistani Sindhi},
author = {Bin Omar, Talha},
year = {2026},
howpublished = {\url{https://huggingface.co/TBOGamer22/nemo-sindhi-g2p-conformer}},
note = {Conformer CTC G2P model for broad IPA phoneme generation}
}