leeoxiang commited on
Commit
0df4330
Β·
verified Β·
1 Parent(s): 9606f05

README: samelang_expressive (in-progress, ~3.3 TB) + samples_showcase as landing preview

Browse files
Files changed (1) hide show
  1. README.md +69 -106
README.md CHANGED
@@ -42,7 +42,7 @@ multi-lingual voice-clone models. Covers 4 target languages
42
  via sglang-omni.
43
 
44
  > **🚧 Upload in progress** β€” the main `samelang_expressive` corpus
45
- > (~4.78 M rows / ~1.4 TB) is being pushed as parquet shards.
46
  > Expect the shard count to grow over the next hours/days until each
47
  > language reaches `train-XXXXX-of-00240.parquet`.
48
 
@@ -67,16 +67,16 @@ synthesize **1000 target-language texts**, giving
67
  `1200 speakers Γ— 4 langs Γ— 1000 texts β‰ˆ 4.8 M` cloned wavs.
68
 
69
  - **Shards**: `data/samelang/<lang>/train-XXXXX-of-00240.parquet`
70
- (each lang β†’ 240 shards, ~5000 rows/shard, ~1.5 GB with zstd)
71
  - **Row schema**: `audio` (struct{bytes, path}, auto-cast to HF `Audio`
72
  feature) + `text`, `lang`, `ref_id`, `speaker_id`, `text_id`,
73
  `duration`, `sample_rate`, `ref_audio_path`, `ref_text`, `engine`,
74
  `original_text`
75
- - **Total size (fully uploaded)**: ~1.4 TB audio, ~4.78 M rows, ~11 k h
76
  - **Engine**: `sglang-omni-higgs-audio-v3` with expressive relabel-based
77
  prompt (drawn from the top-quality pool per source speaker)
78
 
79
- ### Streaming (recommended for 1.4 TB)
80
 
81
  ```python
82
  from datasets import load_dataset
@@ -123,124 +123,87 @@ hf download leeoxiang/multi_lingo_data \
123
 
124
  # Multi-lingual TTS Data (leeoxiang/multi_lingo_data)
125
 
126
- Splits:
127
-
128
- 1. **`references`** β€” real Emilia mono-lingual speaker clips (source of
129
- truth for voice cloning).
130
- 2. **audio_prompts variants** β€” synthesized cross-lingual clips: each
131
- real speaker cloned to speak every target language. Used as
132
- pseudo-refs for Step 2 same-lang expansion.
133
- - **`audio_prompts`** β€” 14400 wavs
134
- - **`audio_prompts_expressive`** β€” 14400 wavs
135
-
136
- ## References (real Emilia speakers)
137
-
138
- Curated real-speaker reference clips selected from Emilia by
139
- ``scripts/select_references.py``. Each row of ``references.jsonl``
140
- points to its wav via ``audio_file`` (relative to repo root).
141
-
142
- - Total refs: **1200**
143
- - Total duration: **2.85 h**
144
-
145
- | lang | n_refs |
146
- |------|--------|
147
- | en | 300 |
148
- | ja | 300 |
149
- | ko | 300 |
150
- | zh | 300 |
151
-
152
-
153
- ## Audio Prompts β€” `audio_prompts`
154
-
155
- Generated by ``scripts/generate_audio_prompts_higgs_sglang.py`` against
156
- a local sglang-omni server serving ``bosonai/higgs-tts-3-4b``. For each
157
- reference speaker Γ— target language Γ— text prompt, one wav.
158
-
159
- - Total wavs: **14400**
160
- - Total duration: **59.56 h**
161
- - Engine: `sglang-omni-higgs-audio-v3`
162
- - Layout: `audio_prompts/<target_lang>/<ref_id>/<text_id:04d>.wav`
163
-
164
- ### Per target-language
165
-
166
- | target_lang | n_wavs |
167
- |-------------|--------|
168
- | en | 3600 |
169
- | ja | 3600 |
170
- | ko | 3600 |
171
- | zh | 3600 |
172
-
173
- ### Per source-language (Emilia speaker's native lang)
174
-
175
- | source_lang | n_wavs |
176
- |-------------|--------|
177
- | en | 3600 |
178
- | ja | 3600 |
179
- | ko | 3600 |
180
- | zh | 3600 |
181
-
182
-
183
- ## Audio Prompts β€” `audio_prompts_expressive`
184
 
185
- Generated by ``scripts/generate_audio_prompts_higgs_sglang.py`` against
186
- a local sglang-omni server serving ``bosonai/higgs-tts-3-4b``. For each
187
- reference speaker Γ— target language Γ— text prompt, one wav.
 
188
 
189
- - Total wavs: **14400**
190
- - Total duration: **59.84 h**
191
- - Engine: `sglang-omni-higgs-audio-v3`
192
- - Layout: `audio_prompts_expressive/<target_lang>/<ref_id>/<text_id:04d>.wav`
193
 
194
- ### Per target-language
 
 
 
195
 
196
- | target_lang | n_wavs |
197
- |-------------|--------|
198
- | en | 3600 |
199
- | ja | 3600 |
200
- | ko | 3600 |
201
- | zh | 3600 |
202
 
203
- ### Per source-language (Emilia speaker's native lang)
204
 
205
- | source_lang | n_wavs |
206
- |-------------|--------|
207
- | en | 3600 |
208
- | ja | 3600 |
209
- | ko | 3600 |
210
- | zh | 3600 |
211
 
 
 
 
 
 
 
 
 
 
212
 
213
- ### CSV schema (per-variant ``<subdir>/metadata.csv``)
214
 
215
- | column | description |
216
- |------------------|---------------------------------------------------|
217
- | file_name | wav path relative to <subdir>/metadata.csv |
218
- | ref_id | source speaker key |
219
- | ref_lang | source speaker's native language |
220
- | speaker_id | original Emilia speaker id |
221
- | lang | target language of this synth |
222
- | text_id | id in ``texts/<lang>_text.jsonl`` |
223
- | text | target-language prompt text |
224
- | duration | seconds |
225
- | sample_rate | Hz (higgs-audio-v3 outputs 24000) |
226
- | ref_audio_path | absolute path to the reference wav (server-side) |
227
- | ref_text | transcript of the reference clip |
228
- | ref_dnsmos | DNSMOS score of the reference |
229
- | engine | fixed to `sglang-omni-higgs-audio-v3` |
230
 
231
- ## Loading
232
 
233
  ```python
234
  from datasets import load_dataset
 
 
 
 
 
 
 
235
 
236
- # References only
237
- refs = load_dataset("leeoxiang/multi_lingo_data", "references", split="train")
238
 
239
- # Audio prompts (cross-lingual synths)
240
- audio_prompts = load_dataset("leeoxiang/multi_lingo_data", "audio_prompts", split="train")
241
- audio_prompts_expressive = load_dataset("leeoxiang/multi_lingo_data", "audio_prompts_expressive", split="train")
 
 
242
  ```
243
 
244
- <!-- viewer-refresh -->
 
 
 
 
 
 
245
 
246
  </details>
 
42
  via sglang-omni.
43
 
44
  > **🚧 Upload in progress** β€” the main `samelang_expressive` corpus
45
+ > (~4.78 M rows / **~3.3 TB**) is being pushed as parquet shards.
46
  > Expect the shard count to grow over the next hours/days until each
47
  > language reaches `train-XXXXX-of-00240.parquet`.
48
 
 
67
  `1200 speakers Γ— 4 langs Γ— 1000 texts β‰ˆ 4.8 M` cloned wavs.
68
 
69
  - **Shards**: `data/samelang/<lang>/train-XXXXX-of-00240.parquet`
70
+ (each lang β†’ 240 shards, ~5000 rows/shard)
71
  - **Row schema**: `audio` (struct{bytes, path}, auto-cast to HF `Audio`
72
  feature) + `text`, `lang`, `ref_id`, `speaker_id`, `text_id`,
73
  `duration`, `sample_rate`, `ref_audio_path`, `ref_text`, `engine`,
74
  `original_text`
75
+ - **Total size (fully uploaded)**: **~3.3 TB** audio, ~4.78 M rows, ~11 k h
76
  - **Engine**: `sglang-omni-higgs-audio-v3` with expressive relabel-based
77
  prompt (drawn from the top-quality pool per source speaker)
78
 
79
+ ### Streaming (recommended for 3.3 TB)
80
 
81
  ```python
82
  from datasets import load_dataset
 
123
 
124
  # Multi-lingual TTS Data (leeoxiang/multi_lingo_data)
125
 
126
+ Large-scale cross-lingual + same-lingual TTS corpus for training expressive
127
+ multi-lingual voice-clone models. Covers 4 target languages
128
+ (**en / ja / ko / zh**), synthesized by `bosonai/higgs-tts-3-4b`
129
+ via sglang-omni.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
130
 
131
+ > **🚧 Upload in progress** β€” the main `samelang_expressive` corpus
132
+ > (~4.78 M rows / ~1.4 TB) is being pushed as parquet shards.
133
+ > Expect the shard count to grow over the next hours/days until each
134
+ > language reaches `train-XXXXX-of-00240.parquet`.
135
 
136
+ ## 🎧 Listen first β€” `samples_showcase`
 
 
 
137
 
138
+ 40 randomly-picked cross-lingual sample pairs (10 per target language)
139
+ from the `samelang_expressive` corpus, each paired with the *reference
140
+ wav* used for voice cloning so you can A/B the timbre. This is what the
141
+ HF viewer above shows by default.
142
 
143
+ ```python
144
+ from datasets import load_dataset
145
+ ds = load_dataset("leeoxiang/multi_lingo_data", "samples_showcase", split="train")
146
+ print(ds[0]["text"], ds[0]["audio"]["sampling_rate"])
147
+ ```
 
148
 
149
+ ## πŸ“¦ Main corpus β€” `samelang_expressive` (**~4.78 M rows, in progress**)
150
 
151
+ Same-language expansion: for every pseudo-reference (real Emilia speaker
152
+ cross-cloned into the target language via `audio_prompts_expressive`), we
153
+ synthesize **1000 target-language texts**, giving
154
+ `1200 speakers Γ— 4 langs Γ— 1000 texts β‰ˆ 4.8 M` cloned wavs.
 
 
155
 
156
+ - **Shards**: `data/samelang/<lang>/train-XXXXX-of-00240.parquet`
157
+ (each lang β†’ 240 shards, ~5000 rows/shard, ~1.5 GB with zstd)
158
+ - **Row schema**: `audio` (struct{bytes, path}, auto-cast to HF `Audio`
159
+ feature) + `text`, `lang`, `ref_id`, `speaker_id`, `text_id`,
160
+ `duration`, `sample_rate`, `ref_audio_path`, `ref_text`, `engine`,
161
+ `original_text`
162
+ - **Total size (fully uploaded)**: ~1.4 TB audio, ~4.78 M rows, ~11 k h
163
+ - **Engine**: `sglang-omni-higgs-audio-v3` with expressive relabel-based
164
+ prompt (drawn from the top-quality pool per source speaker)
165
 
166
+ ### Streaming (recommended for 1.4 TB)
167
 
168
+ ```python
169
+ from datasets import load_dataset
170
+ ds = load_dataset(
171
+ "leeoxiang/multi_lingo_data",
172
+ "samelang_expressive",
173
+ split="train",
174
+ streaming=True,
175
+ )
176
+ row = next(iter(ds))
177
+ print(row["lang"], row["text"][:40], row["audio"]["sampling_rate"])
178
+ ```
 
 
 
 
179
 
180
+ ### Single language
181
 
182
  ```python
183
  from datasets import load_dataset
184
+ ds = load_dataset(
185
+ "leeoxiang/multi_lingo_data",
186
+ data_files="data/samelang/zh/train-*.parquet",
187
+ split="train",
188
+ streaming=True,
189
+ )
190
+ ```
191
 
192
+ ### Full download
 
193
 
194
+ ```bash
195
+ hf download leeoxiang/multi_lingo_data \
196
+ --repo-type dataset \
197
+ --include 'data/samelang/**' \
198
+ --local-dir ./multi_lingo_data
199
  ```
200
 
201
+ ## Supporting configs
202
+
203
+ - **`references`** β€” 1200 curated Emilia mono-lingual real-speaker clips.
204
+ - **`audio_prompts`** β€” 14.4 K cross-lingual synth from Step 1 (each
205
+ real Emilia speaker cloned into 4 target langs Γ— 3 texts).
206
+ - **`audio_prompts_expressive`** β€” same as above with expressive prompt
207
+ selection; the pseudo-refs used to seed `samelang_expressive`.
208
 
209
  </details>