anquachdev commited on
Commit
708dbe5
·
verified ·
1 Parent(s): 7a65d8a

Document generation pipeline, speaker diversity, timbre matching, and QA in the dataset card

Browse files
Files changed (1) hide show
  1. README.md +66 -0
README.md CHANGED
@@ -28,3 +28,69 @@ dataset_info:
28
  download_size: 564580628308
29
  dataset_size: 582098414656.2
30
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  download_size: 564580628308
29
  dataset_size: 582098414656.2
30
  ---
31
+
32
+ # PhoMT EN–VI Parallel Speech
33
+
34
+ Synthetic parallel speech for English↔Vietnamese speech-to-speech translation research:
35
+ **696,243 utterance pairs (~1,200 hours of Vietnamese speech + comparable English)**, generated
36
+ from the sentence-aligned text pairs of [PhoMT](https://huggingface.co/datasets/ura-hcmut/PhoMT).
37
+ Each row carries the English and Vietnamese text plus a spoken rendition of each side.
38
+
39
+ | | |
40
+ |---|---|
41
+ | Rows | 696,243 |
42
+ | Vietnamese audio | 48 kHz mono WAV, ~1,228 h total (mean ≈ 6.4 s/clip) |
43
+ | English audio | 24 kHz mono WAV |
44
+ | Length balance | EN/VI duration ratio kept within 0.4–1.8 |
45
+
46
+ ```python
47
+ from datasets import load_dataset
48
+ ds = load_dataset("anquachdev/PhoMT-en-vi-speech", split="train", streaming=True)
49
+ row = next(iter(ds)) # en, vi, audio_en, audio_vi, duration_en_s, duration_vi_s, duration_ratio_en_vi
50
+ ```
51
+
52
+ ## How it was generated
53
+
54
+ - **Vietnamese**: [VieNeu-TTS v3-Turbo](https://huggingface.co/pnnbao-ump/VieNeu-TTS) at 48 kHz.
55
+ - **English**: [Kokoro-82M](https://huggingface.co/hexgrad/Kokoro-82M) at 24 kHz.
56
+ - Voices, speaking speed, and target gender are assigned per row by a seeded deterministic RNG,
57
+ so the corpus is exactly reproducible from the PhoMT indexes.
58
+
59
+ ### Speaker diversity via voice cloning
60
+
61
+ The Vietnamese voice pool contains **40 voices**: 12 VieNeu presets plus **28 voices cloned from
62
+ [VIVOS](https://huggingface.co/datasets/AILAB-VNUHCM/vivos) speakers** using VieNeu's reference-audio
63
+ voice cloning. Every candidate voice passed a QA scorecard before entering the pool —
64
+ transcription accuracy (PhoWhisper-small CER on synthesized calibration text), clone fidelity
65
+ (speaker-embedding similarity to the reference), and speaking rate; 8 candidates that failed
66
+ (unstable CER or dragging pace) were excluded.
67
+
68
+ ### Cross-lingual timbre matching
69
+
70
+ To keep speaker identity consistent across the language pair, each row's English voice is derived
71
+ from its Vietnamese voice: both sides are embedded with VieNeu's 192-d speaker encoder (from
72
+ synthesized calibration audio, not raw references), and the Vietnamese voice is matched to its
73
+ nearest same-gender English candidate by cosine similarity. The English candidate grid holds 34
74
+ timbres — 7 Kokoro voices plus pairwise same-gender blends at 25/50/75 mixing weights — of which
75
+ ~14 are selected by the matching. Rows generated after this upgrade (~51% of the corpus, PhoMT
76
+ indexes ≥ 345600) use matched pairs; earlier rows pair voices independently.
77
+
78
+ ## Quality control
79
+
80
+ Every clip was validated before upload:
81
+
82
+ - **Silence/corruption gate**: each waveform decode-checked — non-finite or near-silent
83
+ (RMS < 1e-4) output is regenerated (this catches rare GPU-decoder faults).
84
+ - **Length-balance filter**: pairs outside the 0.4–1.8 EN/VI duration ratio band were
85
+ regenerated once with fresh sampling; pairs still out of band (genuinely imbalanced
86
+ translations) were excluded.
87
+ - Upload integrity is tracked per source index in `upload-state.json` — every row maps to a
88
+ unique PhoMT pair, with no duplicates.
89
+
90
+ ## Attribution
91
+
92
+ Text pairs from [PhoMT](https://github.com/VinAIResearch/PhoMT) (VinAI Research). Vietnamese
93
+ voice references from [VIVOS](https://huggingface.co/datasets/AILAB-VNUHCM/vivos) (AILAB, VNU-HCM).
94
+ Speech synthesized with [VieNeu-TTS](https://huggingface.co/pnnbao-ump/VieNeu-TTS) and
95
+ [Kokoro-82M](https://huggingface.co/hexgrad/Kokoro-82M). The audio is fully synthetic; no human
96
+ recordings are distributed in this dataset.