Downloads · 30 days
12
26% of all-time downloads
TBOGamer22/nemo-balochi-g2p-conformer
nemo-balochi-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.
Balochi Conformer G2P converts Pakistani Balochi text written in the Perso-Arabic script into broad IPA-style phoneme strings. It is a character-level NVIDIA NeMo Conformer CTC model intended for TTS preprocessing, pr…
Downloads · 30 days
12
26% of all-time downloads
All-time downloads
46
Public
Repo size
29.1 MB
Likes
1
Public
Click a slice to open those files.
.nemo29.1 MB · 100%
From the Hugging Face model README
Balochi Conformer G2P converts Pakistani Balochi text written in the Perso-Arabic script into broad IPA-style phoneme strings. It is a character-level NVIDIA NeMo Conformer CTC model intended for TTS preprocessing, pronunciation-label bootstrapping, and speech-dataset quality checks.
To the best of our knowledge, this is the first publicly released model dedicated to Balochi grapheme-to-phoneme conversion. At the time of release, no open Balochi-specific G2P model or comparable public model resource could be found. This release is intended to establish a practical starting point for a language that remains severely under-resourced in speech and language technology.
This model belongs to the Pakistani Languages G2P Family alongside the Pashto Conformer G2P and Sindhi Conformer G2P.
Install the dependencies:
pip install -r requirements.txt
Run from a cloned repository:
python inference.py --text "گلے چاروں کا مئے دعا ہمیشے اللہ پاک تمام مسلماناں عمرہ حج کنگے توفیق بدات آمین آمین"
Example output:
guleː t͡ʃaːroːkaː maeː d̪uaː hameːʃeː allaː paːk t̪amaːm musulmaːnaː umraː had͡ʒ kanageː t̪oːfiːq bid̪aːt̪ aːmiːn aːmiːn
Another example:
python inference.py --text "ہاں چتورے؟ شکر آ۔ تو گانوکانی وڑا جنگلا سرگردانے؟ تو عالیہ سئی ہے؟ عالیہ؟ چے عالیہ؟"
hãː t͡ʃat̪oːreː ʃukr aː t̪oː gaːnoːkaːniː waɽaː d͡ʒaŋgalaː sargardaːneː t̪oː aːliːjaː saiː eː aːlijaː t͡ʃeː aːlijaː
Or let the script download the model from Hugging Face:
python inference.py \
--repo-id TBOGamer22/nemo-balochi-g2p-conformer \
--model-path missing.nemo \
--text "گلے چاروں کا مئے دعا ہمیشے اللہ پاک تمام مسلماناں عمرہ حج کنگے توفیق بدات آمین آمین"
For multiple inputs, save one sentence per line in a UTF-8 file:
python inference.py --text-file inputs.txt --json
| File | Purpose |
|---|---|
balochi_conformer_g2p.nemo | Portable NeMo model with embedded tokenizer vocabularies |
model_config.yaml | Human-readable architecture configuration |
tokenizers/ | Balochi grapheme and IPA character vocabularies |
inference.py | Local and Hub-backed inference CLI |
requirements.txt | Python dependencies |
LICENSE | MIT License |
The public repository intentionally contains only inference files. It does not include datasets, data splits, manifests, prediction tables, training logs, or trainer checkpoints.
Use this model to obtain broad IPA-style pronunciation sequences for Pakistani Balochi text, especially as a preprocessing component for speech synthesis and corpus tooling. Review predictions before using them as authoritative linguistic annotations.
Released under the MIT License.
Author: Talha Bin Omar
@misc{omar2026balochig2p,
author = {Talha Bin Omar},
title = {Balochi Conformer G2P},
year = {2026},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/TBOGamer22/nemo-balochi-g2p-conformer}}
}