Upload folder using huggingface_hub
Browse files- README.md +120 -0
- hi_fad_natives.pkl +3 -0
- hi_psd_natives.pkl +3 -0
- hi_refs.pkl +3 -0
- hi_sanity.json +21 -0
- ta_fad_natives.pkl +3 -0
- ta_psd_natives.pkl +3 -0
- ta_refs.pkl +3 -0
- ta_sanity.json +21 -0
- te_fad_natives.pkl +3 -0
- te_psd_natives.pkl +3 -0
- te_refs.pkl +3 -0
- te_sanity.json +21 -0
README.md
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
language:
|
| 4 |
+
- te
|
| 5 |
+
- hi
|
| 6 |
+
- ta
|
| 7 |
+
task_categories:
|
| 8 |
+
- text-to-speech
|
| 9 |
+
- audio-classification
|
| 10 |
+
tags:
|
| 11 |
+
- accent-evaluation
|
| 12 |
+
- phoneme-probe
|
| 13 |
+
- indic
|
| 14 |
+
- retroflex
|
| 15 |
+
- wav2vec2
|
| 16 |
+
- fad
|
| 17 |
+
- psd
|
| 18 |
+
size_categories:
|
| 19 |
+
- 1K<n<10K
|
| 20 |
+
---
|
| 21 |
+
|
| 22 |
+
# Praxel/psp-native-centroids
|
| 23 |
+
|
| 24 |
+
Native-speaker reference artefacts for the **PSP** (Phoneme Substitution Profile)
|
| 25 |
+
benchmark for Indic text-to-speech accent evaluation. Companion to the paper
|
| 26 |
+
[PSP: An Interpretable Per-Dimension Accent Benchmark for Indic Text-to-Speech](https://arxiv.org/abs/TBD)
|
| 27 |
+
(Teja, 2026).
|
| 28 |
+
|
| 29 |
+
This dataset is a **scoring reference**, not a training corpus. It contains
|
| 30 |
+
pre-computed acoustic references extracted from publicly-licensed native-speaker
|
| 31 |
+
speech corpora, used by the [`psp-eval` PyPI package](https://github.com/praxelhq/psp-eval)
|
| 32 |
+
to score TTS outputs on six accent dimensions.
|
| 33 |
+
|
| 34 |
+
## Contents
|
| 35 |
+
|
| 36 |
+
Per-language files for Telugu (`te`), Hindi (`hi`), and Tamil (`ta`):
|
| 37 |
+
|
| 38 |
+
| File | Shape / size | Description |
|
| 39 |
+
|---|---|---|
|
| 40 |
+
| `{lang}_refs.pkl` | `{phoneme: [ndarray (1024,)]}` | Per-phoneme Wav2Vec2-XLS-R layer-9 centroid bags (500-clip bootstrap) |
|
| 41 |
+
| `{lang}_fad_natives.pkl` | `ndarray (1000, 1024)` | Utterance-level XLS-R embeddings for FAD computation |
|
| 42 |
+
| `{lang}_psd_natives.pkl` | `ndarray (500, 5)` | Prosodic feature vectors (F0 mean/std/range, onset-rate, nPVI) for PSD |
|
| 43 |
+
| `{lang}_sanity.json` | small JSON | Held-out native-audio sanity-check scores (§6 paper Signal 5) |
|
| 44 |
+
|
| 45 |
+
## Provenance
|
| 46 |
+
|
| 47 |
+
All centroids and reference distributions are derived from:
|
| 48 |
+
- **Telugu**: [IndicTTS](https://www.iitm.ac.in/donlab/tts/) (Telugu subset) — CC-BY-4.0
|
| 49 |
+
- **Hindi**: [Rasa](https://github.com/AI4Bharat/Rasa) (Hindi subset) — CC-BY-4.0
|
| 50 |
+
- **Tamil**: IndicTTS (Tamil subset) — CC-BY-4.0
|
| 51 |
+
|
| 52 |
+
500 clips per language sampled from the full corpus with seed `1337`. FAD references
|
| 53 |
+
sample 1000 clips from the same pool with the same seed. PSD references sample 500
|
| 54 |
+
clips. Held-out sanity-check clips sample from the same pool with disjoint seed `999`.
|
| 55 |
+
|
| 56 |
+
Each pickle was produced by `evaluation/psp_bootstrap.py` in the
|
| 57 |
+
[praxelhq/psp-eval repository](https://github.com/praxelhq/psp-eval); see that
|
| 58 |
+
script for the exact extraction pipeline and the alignment-model checkpoints used.
|
| 59 |
+
|
| 60 |
+
## Usage
|
| 61 |
+
|
| 62 |
+
```python
|
| 63 |
+
from psp_eval import score_directory
|
| 64 |
+
|
| 65 |
+
# Centroids auto-download from this repo on first use.
|
| 66 |
+
scores = score_directory("my_tts_outputs/", language="te")
|
| 67 |
+
```
|
| 68 |
+
|
| 69 |
+
Or load directly in Python:
|
| 70 |
+
|
| 71 |
+
```python
|
| 72 |
+
import pickle
|
| 73 |
+
from huggingface_hub import hf_hub_download
|
| 74 |
+
|
| 75 |
+
path = hf_hub_download("Praxel/psp-native-centroids", "te_refs.pkl", repo_type="dataset")
|
| 76 |
+
with open(path, "rb") as f:
|
| 77 |
+
refs = pickle.load(f)
|
| 78 |
+
# refs: {"ṭ": [np.ndarray (1024,), ...], "ḍ": [...], ...}
|
| 79 |
+
```
|
| 80 |
+
|
| 81 |
+
## Known caveats
|
| 82 |
+
|
| 83 |
+
- **Per-phoneme probe noise floor**: native Telugu / Tamil audio registers
|
| 84 |
+
0.47–0.54 retroflex fidelity when scored against these centroids (not 1.0).
|
| 85 |
+
This reflects speaker variance between centroid and held-out native corpora,
|
| 86 |
+
aligner quality, and the strictness of the 0.5 collapse threshold. Interpret
|
| 87 |
+
per-phoneme scores as **relative rankings across systems**, not absolute
|
| 88 |
+
distances from a theoretical 1.0 ceiling. See paper §6 Signal 5 for details.
|
| 89 |
+
- **FAD / PSD** do not share this noise floor (native audio correctly scores
|
| 90 |
+
5–50× lower than commercial-TTS outputs).
|
| 91 |
+
- **Unnormalised Fréchet across mixed-scale PSD dimensions**: nPVI has numeric
|
| 92 |
+
range ~$10^2$ while log-$F_0$ is ~$10^0$. A z-scored variant is planned for
|
| 93 |
+
the v2 release.
|
| 94 |
+
|
| 95 |
+
## Citation
|
| 96 |
+
|
| 97 |
+
```bibtex
|
| 98 |
+
@misc{teja2026psp,
|
| 99 |
+
title={{PSP}: An Interpretable Per-Dimension Accent Benchmark for Indic Text-to-Speech},
|
| 100 |
+
author={Teja, Pushpak},
|
| 101 |
+
year={2026},
|
| 102 |
+
eprint={TBD},
|
| 103 |
+
archivePrefix={arXiv},
|
| 104 |
+
primaryClass={cs.CL}
|
| 105 |
+
}
|
| 106 |
+
```
|
| 107 |
+
|
| 108 |
+
## License
|
| 109 |
+
|
| 110 |
+
CC-BY-4.0 — matching the originating corpus licenses (IndicTTS, Rasa).
|
| 111 |
+
|
| 112 |
+
## Related
|
| 113 |
+
|
| 114 |
+
- **Code**: https://github.com/praxelhq/psp-eval (MIT)
|
| 115 |
+
- **PyPI**: `pip install psp-eval`
|
| 116 |
+
- **Paper**: https://arxiv.org/abs/TBD
|
| 117 |
+
|
| 118 |
+
## Contact
|
| 119 |
+
|
| 120 |
+
Pushpak Teja — pushpak@praxel.in — [praxel.in](https://praxel.in)
|
hi_fad_natives.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2dc48ae16a9c8173287f6c7f37c76460cf4a429d3d84a284e975a702381f5544
|
| 3 |
+
size 4096163
|
hi_psd_natives.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7bb4692f71915e5dd93d0ed9064b04a04d2993af4178bb17e2bc41a8681d11d9
|
| 3 |
+
size 10093
|
hi_refs.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:37c87f4d14346b20d862c61d14848bb4eb5c50facc50025c02bba456159ecfba
|
| 3 |
+
size 45610021
|
hi_sanity.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "hi",
|
| 3 |
+
"n_clips_scored": 50,
|
| 4 |
+
"retroflex_fidelity_mean": 1.0,
|
| 5 |
+
"retroflex_collapse_rate": 0.0,
|
| 6 |
+
"retroflex_n_expected": 103,
|
| 7 |
+
"retroflex_n_collapsed": 0,
|
| 8 |
+
"aspiration_fidelity_mean": 1.0,
|
| 9 |
+
"aspiration_collapse_rate": 0.0,
|
| 10 |
+
"aspiration_n_expected": 103,
|
| 11 |
+
"aspiration_n_collapsed": 0,
|
| 12 |
+
"length_fidelity_mean": 0.3708494186972448,
|
| 13 |
+
"zha_fidelity_mean": null,
|
| 14 |
+
"zha_collapse_rate": null,
|
| 15 |
+
"zha_n_expected": 0,
|
| 16 |
+
"fad": 43.45411913819434,
|
| 17 |
+
"fad_mean_norm": 1.692548368729826,
|
| 18 |
+
"fad_trace_term": 40.58939915770435,
|
| 19 |
+
"psd": 2.1316744680287396,
|
| 20 |
+
"psd_mean_norm": 0.9570577451325951
|
| 21 |
+
}
|
ta_fad_natives.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:642077910a7c049b6846620f091c3eaf82e6af2b8bd1d41ca52c6f05963ba9c7
|
| 3 |
+
size 4096163
|
ta_psd_natives.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0abe89f103bafe98af418046e966d7c56efd4449e45b843b9693fbfa2a1e1fd8
|
| 3 |
+
size 10153
|
ta_refs.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f8b40cb32f59bac9aa1d77701cfe374b971f475722dc3e885f7ec1307729c628
|
| 3 |
+
size 60298202
|
ta_sanity.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "ta",
|
| 3 |
+
"n_clips_scored": 50,
|
| 4 |
+
"retroflex_fidelity_mean": 0.4700572448737715,
|
| 5 |
+
"retroflex_collapse_rate": 0.8607888631090487,
|
| 6 |
+
"retroflex_n_expected": 431,
|
| 7 |
+
"retroflex_n_collapsed": 371,
|
| 8 |
+
"aspiration_fidelity_mean": null,
|
| 9 |
+
"aspiration_collapse_rate": null,
|
| 10 |
+
"aspiration_n_expected": 0,
|
| 11 |
+
"aspiration_n_collapsed": 0,
|
| 12 |
+
"length_fidelity_mean": 0.13421705099540263,
|
| 13 |
+
"zha_fidelity_mean": 0.45434493262312986,
|
| 14 |
+
"zha_collapse_rate": 0.8888888888888888,
|
| 15 |
+
"zha_n_expected": 18,
|
| 16 |
+
"fad": 31.92160884149887,
|
| 17 |
+
"fad_mean_norm": 1.464495961124931,
|
| 18 |
+
"fad_trace_term": 29.776860421347635,
|
| 19 |
+
"psd": 5.566715325207308,
|
| 20 |
+
"psd_mean_norm": 2.192242106232604
|
| 21 |
+
}
|
te_fad_natives.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:81edf2b3612b80a369cc31e249bcb0cffce12bce9e00e725c67cde151ecc4957
|
| 3 |
+
size 4096163
|
te_psd_natives.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:51d557f2947adc83f72981b2a35cca71d5c00084409cf08721bcbf21a97be252
|
| 3 |
+
size 10113
|
te_refs.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a8777de30c1fb5d89cc97dcade909402917e753ddeed88612bfa0cd5eab0f082
|
| 3 |
+
size 51508423
|
te_sanity.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"language": "te",
|
| 3 |
+
"n_clips_scored": 50,
|
| 4 |
+
"retroflex_fidelity_mean": 0.5381929670676975,
|
| 5 |
+
"retroflex_collapse_rate": 0.4298642533936652,
|
| 6 |
+
"retroflex_n_expected": 221,
|
| 7 |
+
"retroflex_n_collapsed": 95,
|
| 8 |
+
"aspiration_fidelity_mean": 0.7884938176873334,
|
| 9 |
+
"aspiration_collapse_rate": 0.2631578947368421,
|
| 10 |
+
"aspiration_n_expected": 57,
|
| 11 |
+
"aspiration_n_collapsed": 15,
|
| 12 |
+
"length_fidelity_mean": 0.23922036026417295,
|
| 13 |
+
"zha_fidelity_mean": null,
|
| 14 |
+
"zha_collapse_rate": null,
|
| 15 |
+
"zha_n_expected": 0,
|
| 16 |
+
"fad": 34.797300205613666,
|
| 17 |
+
"fad_mean_norm": 1.6784056965198657,
|
| 18 |
+
"fad_trace_term": 31.980254523503334,
|
| 19 |
+
"psd": 4.984875348245255,
|
| 20 |
+
"psd_mean_norm": 2.185696928560599
|
| 21 |
+
}
|