viai957 commited on
Commit
e8caf6b
·
verified ·
1 Parent(s): f16d88f

White-paper card: training, evals, curves

Browse files
README.md ADDED
@@ -0,0 +1,544 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: OmniVoxtral Data (Indic speech-LM corpus, working backup)
3
+ license: other
4
+ license_name: mixed-see-card
5
+ license_link: https://huggingface.co/datasets/viai957/omnivoxtral-data#licence-and-rights
6
+ language:
7
+ - as
8
+ - bn
9
+ - en
10
+ - gu
11
+ - hi
12
+ - kn
13
+ - ml
14
+ - mr
15
+ - ne
16
+ - or
17
+ - pa
18
+ - ta
19
+ - te
20
+ - ur
21
+ multilinguality: multilingual
22
+ size_categories:
23
+ - 100K<n<1M
24
+ task_categories:
25
+ - automatic-speech-recognition
26
+ - text-to-speech
27
+ tags:
28
+ - speech
29
+ - speech-language-model
30
+ - indic
31
+ - mimi
32
+ - neural-codec-tokens
33
+ - interleaved-text-audio
34
+ - whisper-pseudo-labels
35
+ - research-only
36
+ - omnivoxtral
37
+ source_datasets:
38
+ - google/fleurs
39
+ - ai4bharat/IndicVoices
40
+ - original
41
+ annotations_creators:
42
+ - machine-generated
43
+ ---
44
+
45
+ # OmniVoxtral Data
46
+
47
+ This repository is the working-data backup of the OmniVoxtral project, a multilingual speech language model for Indic languages and English. The base model is Mistral-7B-v0.3, extended with a Mimi-codec audio vocabulary and a depth transformer. The repository holds three kinds of material:
48
+
49
+ - **Training-ready token shards** (`tokens_v2`): 155,861 interleaved text and audio sequences of 20 s each, with JSON sidecars.
50
+ - **The VAD-chunked audio they were built from** (`chunks_v2`, `chunks_v2_quarantine`), along with legacy audio dumps.
51
+ - **Pipeline artefacts and experiment outputs**: codec and tokenizer benchmarks, the SentencePiece tokenizer, the pinned validation split, the URL and search lists, the autoresearch ledger, and generated audio samples.
52
+
53
+ > **Rights warning: read before use.** Most of the audio and pseudo-transcripts here come from YouTube recordings. The project does not hold redistribution rights to those recordings, and the project's own sidecars tag them `data_license_class: "research_only"`. A sibling card in the same project states that YouTube-derived audio "must stay private" ([`viai957/omnivoxtral-yt-indic-raw`](https://huggingface.co/datasets/viai957/omnivoxtral-yt-indic-raw), private). **This repository is currently public.** See [Licence and rights](#licence-and-rights).
54
+
55
+ All figures were generated from the repository's own files, or from the logs of the runs that consumed them. Every number in this card is traced in `evidence.json` (next to this README in the card build directory). Anything that was never measured is marked **not measured**.
56
+
57
+ ---
58
+
59
+ ## 1. TL;DR product sheet
60
+
61
+ | Item | Value |
62
+ |---|---|
63
+ | What it is | A backup of the OmniVoxtral data tree. The training-ready part is `data/tokens_v2.tar`, holding Mimi-codec and SentencePiece token sequences for speech-LM pre-training |
64
+ | Consumer model | OmniVoxtral: a temporal transformer (Mistral-7B-v0.3, every 2nd layer pruned, LoRA r=128) plus a depth transformer over 8 Mimi codebooks |
65
+ | Token format | 1,890 int64 tokens per clip = 90 windows × stride 21 (1 text token + 20 audio tokens per 200 ms window). Vocabulary is 81,920 = 65,536 text + 8 × 2,048 audio |
66
+ | Size on Hub | 48 files, 191.87 GB (191,868,379,816 bytes) |
67
+ | `tokens_v2` | 155,861 clips. 298.11 h of real speech (865.90 h including zero padding). 294,577,290 tokens |
68
+ | Sources inside `tokens_v2` | YouTube 123,239 clips (13 Indic languages + English). IndicVoices (Hindi) 20,151. FLEURS (6 languages) 12,471 |
69
+ | Languages in `tokens_v2` | 14: asm, ben, eng, guj, hin, kan, mal, mar, nep, ori, pan, tam, tel, urd |
70
+ | Transcripts | 100% machine-generated (`transcript_method = whisper_large_v3`), including the IndicVoices and FLEURS clips. No human transcripts are used |
71
+ | Raw chunked audio | `chunks_v2`: 133,517 VAD chunks, 245.52 h, from 217 source recordings. `chunks_v2_quarantine`: 39,637 chunks, 35.78 h, rejected by LID confidence below 0.7 |
72
+ | Validation split | `val_split_v2.json`: 420 clips (30 per language × 14). **Not source-disjoint**: see §6.3 |
73
+ | Processing compute | Not recorded in a parseable log, so **not measured** |
74
+ | Reference training on this data | 2 runs × 20,000 steps on 4 GPUs, each about 7.5 h wall time. Final val (run 5krth3fs): total 14.589, temporal 7.604, depth 6.984 |
75
+ | Headline data-quality results | Whisper script consistency (sampled): **asm 100% wrong-script, mal 89%**, tel 30%, pan 27%. ori: 165/165 transcripts empty. 2,779 sidecars flagged `repetition_loop` |
76
+ | Headline downstream result | A model trained on this data (trial 22) reached free-run LID accuracy of **3/30 = 0.10** (95% Wilson CI 0.035–0.256), which is chance level for 10 languages |
77
+ | Upload | `.hf_backup.py`, 2026-06-04/05. Last commit `f16d88f183131794ceb6b206c1e7bf7722fbff37` |
78
+
79
+ ---
80
+
81
+ ## 2. Dataset details and mechanism
82
+
83
+ ### 2.1 What the token sequences encode
84
+
85
+ Each `.npy` in `tokens_v2` is one 20 s audio chunk. The chunk is encoded as a single stream that interleaves text and audio:
86
+
87
+ - **Text.** Whisper-large-v3 transcribes the chunk with word timestamps. Words are bucketed at 5 Hz and tokenized with the project's 65,536-entry SentencePiece Unigram model (`data/tokenizer/omnivoxtral_sp.model`).
88
+ - **Audio.** The 24 kHz audio is encoded by Kyutai Mimi (12.5 Hz frames, 8 residual codebooks of 2,048 entries). Codebook *q* is offset by 65,536 + 2,048·*q*, so audio and text IDs never collide.
89
+ - **Interleave.** Each 200 ms window contains 1 text token followed by 20 audio tokens (2.5 frames × 8 codebooks), so the stride is 21.
90
+ - **2 s text/audio offset.** The tokenizer drops the first 2 s of Mimi tokens (`mimi_num_quantizers × frame_rate × 2` = 200 tokens) and the last 2 s of text tokens (`text_hz × 2` = 10 tokens). That is a shift of 10 windows, not 2. Text for time *t* therefore sits next to the audio for *t* + 2 s, so text is delayed relative to audio. This is why 100 windows become 90, or 1,890 tokens, per 20 s chunk. The code comment reads "delay text and audio tokens by two windows … we avoid corresponding audio tokens appearing before the text tokens by accident". That comment does not match what the code does: as implemented, the audio for a moment appears in the stream 2 s *before* its text (`src/voxtral/tokenizer/model.py`, same at `c416eb4`).
91
+ - **Padding mask.** Chunks shorter than 20 s are zero-padded. `valid_token_mask` marks the real-audio prefix, and the trainer excludes padded positions from the loss.
92
+
93
+ ```mermaid
94
+ flowchart LR
95
+ subgraph Acquisition
96
+ S[search terms<br/>searches*.txt] --> U[YouTube URLs<br/>indic_urls*.txt]
97
+ U --> D[yt-dlp + ffmpeg segment<br/>chunks_indic_yt .m4a]
98
+ HF1[google/fleurs] --> F[FLEURS clips]
99
+ HF2[ai4bharat/IndicVoices] --> I[IndicVoices clips<br/>chunks_indic*]
100
+ end
101
+ D --> V[Silero VAD v6<br/>min speech 300 ms, min silence 500 ms,<br/>pad 150 ms, max 20 s]
102
+ V --> L{MMS-LID-2048<br/>conf >= 0.7?}
103
+ L -- yes --> C2[chunks_v2<br/>133,517 wav + json + lang.json]
104
+ L -- no --> Q[chunks_v2_quarantine<br/>39,637]
105
+ C2 --> M[music flags per source<br/>harmonicity + tempo]
106
+ C2 --> W[Whisper-large-v3 word timestamps<br/>batched faster-whisper]
107
+ F --> W
108
+ I --> W
109
+ W --> SP[SentencePiece Unigram 65,536<br/>5 Hz text buckets]
110
+ C2 --> MI[Mimi encoder<br/>12.5 Hz x 8 codebooks]
111
+ F --> MI
112
+ I --> MI
113
+ SP --> X[interleave: 1 text + 20 audio / 200 ms<br/>2 s text/audio offset, zero-pad to 20 s]
114
+ MI --> X
115
+ X --> T[tokens_v2 .npy + .meta.json<br/>155,861 clips]
116
+ T --> RL[repetition-loop flag<br/>max trigram fraction >= 0.30]
117
+ T --> VS[val_split_v2.json<br/>30 clips x 14 langs]
118
+ T --> TR[OmniVoxtral training<br/>temporal Mistral + depth transformer]
119
+ ```
120
+
121
+ ### 2.2 Repository layout (what is actually on the Hub)
122
+
123
+ Everything is packed as tar archives because the source tree had more than 1M small files. `chunks_v2` and `autoresearch_loop` were split with `split -b 18G`. Reassemble them with `cat chunks_v2.tar.part.* | tar x`.
124
+
125
+ | Path in repo | Bytes | Contents | Provenance / licence class |
126
+ |---|---:|---|---|
127
+ | `data/tokens_v2.tar` | 5,946,265,600 | 155,861 × (`.npy` + `.meta.json`), layout `tokens_v2/yt/<iso3 dir>/<2-hex shard>/<id>.*` (Nepali and Odia directories are `npi/` and `ory/`, although the sidecar `language` field says `nep`/`ori`), `tokens_v2/fleurs/<iso1>/<iso1>/<id>.*` (e.g. `fleurs/hi/hi/`), `tokens_v2/iv/hi/…/<id>.*`. See `_index/tokens_v2.jsonl` for exact paths | mixed (see §3.1) |
128
+ | `data/chunks_v2/chunks_v2.tar.part.000`–`004` | 85,235,998,720 | 133,517 × (`.wav` 24 kHz mono + `.json` + `.lang.json`) | YouTube, research-only |
129
+ | `data/chunks_v2_quarantine.tar` | 12,478,914,560 | 39,637 rejected chunks, same schema | YouTube, research-only |
130
+ | `data/chunks_indic_yt.tar` | 18,703,032,320 | 57,668 raw 20 s `.m4a` chunks (pre-VAD input) | YouTube, research-only |
131
+ | `data/chunks_indic.tar`, `chunks_indic_extra.tar` | 13,160,857,600 / 8,954,941,440 | 95,000 / 65,000 `.flac` files (count from the project's sharding README) | IndicVoices audio with no text, CC-BY-4.0 |
132
+ | `data/chunks_indic_g{0..3}.tar`, `chunks_indic_g1_pa.tar`, `chunks_indic_ml_fix.tar`, `chunks_g{1..3}_batch2.tar` | 0.28–0.57 GB each | smaller per-language batches (24,000 files together, per the sharding README) | IndicVoices audio with no text, CC-BY-4.0 |
133
+ | `data/codec_benchmark_results.tar` | 194,560 | Mimi round-trip benchmark (`raw_results.csv`, `summary.md`, `ANALYSIS.md`) | project-created |
134
+ | `data/tokenizer.tar` | 12,072,960 | `omnivoxtral_sp.model`/`.vocab`, `training_corpus.txt` (FLEURS train transcripts), `comparison.md` | project-created; corpus text from FLEURS (CC-BY-4.0) |
135
+ | `data/tokenizer_benchmark_results.tar` | 358,400 | Mistral BPE fertility per language | project-created |
136
+ | `data/dataset_inventory.tar` | 1,157,120 | 3,500-sample, 8.8 h survey of FLEURS and IndicVoices across 22 languages (2026-03-13) | project-created |
137
+ | `data/indic_test_samples.tar` | 141,588,480 | test WAVs used by the codec benchmark | FLEURS / IndicVoices / synthetic placeholders |
138
+ | `data/yt_g{0..3}.tar` | 20,480 each | empty shard-directory skeletons (no files) | n/a |
139
+ | `data/.cache.tar` | 10,240 | empty cache stub | n/a |
140
+ | `data/_loose_files.tar` + top-level copies | about 0.43 MB | `searches.txt` (538 lines), `searches_indic.txt` (139), `indic_searches.txt` (193), `indic_urls.txt` (1,845 URLs), `indic_urls_new.txt` (1,501), `indic_urls_all.txt` (3,219), `source_music_flags.json` (+4 per-rank parts), `val_split_v2.json` | project-created; URLs point to third-party content |
141
+ | `experiments/autoresearch_loop/*.tar.part.000`–`002` | 43,716,782,080 | autoresearch loop code, per-trial run directories, SQLite ledger, rejected checkpoints | project-created |
142
+ | `experiments/outputs.tar` | 32,317,440 | 4 sets of 14 generated WAV samples (one per language) from the two reference runs (§5) | model outputs |
143
+ | `autoresearch_snapshot.tar.gz` | 13,611,385 | snapshot of `autoresearch/` (memory files, `results.tsv` with 528 experiment rows) | project-created |
144
+
145
+ There is no `datasets` loading script, and the Hub viewer cannot read these archives. To use the data, download the tars and read the `.npy` and `.json` files directly (§9).
146
+
147
+ ---
148
+
149
+ ## 3. Sources, schema, splits, statistics
150
+
151
+ ### 3.1 Sources and licences
152
+
153
+ | Source | Where | Upstream licence | Sidecar tag | Notes |
154
+ |---|---|---|---|---|
155
+ | YouTube recordings (podcasts, interviews, talks) found with project search terms | `chunks_indic_yt`, `chunks_v2`, `chunks_v2_quarantine`, `tokens_v2/yt` | copyright of the original rights holders; no redistribution licence held | `research_only` | 217 source recordings back `chunks_v2`. `source_url` is `null` in the sidecars, so per-clip provenance cannot be recovered from this repo alone |
156
+ | FLEURS (`google/fleurs`) | `tokens_v2/fleurs` | CC-BY-4.0 | `apache` (a code default in the sidecar writer, **not** the upstream licence) | 12,471 clips in 6 languages |
157
+ | IndicVoices (`ai4bharat/IndicVoices`) | `tokens_v2/iv` (Hindi), `chunks_indic*`, `chunks_g*_batch2` | CC-BY-4.0 | `cc-by-4.0` | 20,151 Hindi clips in tokens. The upstream human transcripts were **not** used; text was re-generated with Whisper |
158
+
159
+ ### 3.2 Schema
160
+
161
+ **`tokens_v2/<group>/<lang>/<shard>/<id>.npy`** holds `int64[1890]`. Position *k* with *k* mod 21 = 0 is a text token (ID < 65,536). The other 20 positions are audio tokens (codebook *q* in [65,536 + 2,048*q*, 65,536 + 2,048(*q*+1))).
162
+
163
+ **`<id>.meta.json`** (schema_version 2). An abridged real example from `tokens_v2/yt/hin/00/00045e3004d24a8ab24fc07126704adc.meta.json`:
164
+
165
+ ```json
166
+ {
167
+ "schema_version": 2, "preprocessing_version": "v2.0",
168
+ "source": "youtube", "source_id": "00045e3004d24a8ab24fc07126704adc", "source_url": null,
169
+ "language": "hin", "language_confidence": 0.9846662282943726, "language_method": "mms_lid_2048",
170
+ "transcript": " पहला पास साल ऐसा रहा लोगों ने धूमधाम से पूजा किया, लोगों ने धूमधाम से किर्तन किया.",
171
+ "transcript_method": "whisper_large_v3", "transcript_avg_logprob": -0.05110206234073916,
172
+ "duration_s": 20.0, "sample_rate": 24000, "num_channels": 1, "stream_layout": "single",
173
+ "snr_db": null, "speech_ratio": null, "clip_ratio": null, "music_likely": null,
174
+ "tokenizer_config": {"sp_model": "omnivoxtral_sp.model", "text_hz": 5, "mimi_num_quantizers": 8, "stride": 21},
175
+ "token_count": 1890, "valid_token_mask": [true, "... 1890 booleans ..."],
176
+ "data_license_class": "research_only", "quarantine_reason": null, "task": "transcribe"
177
+ }
178
+ ```
179
+
180
+ `duration_s` is always the padded length (20.0). To get the real speech length, use `duration_s × mean(valid_token_mask)`.
181
+
182
+ **`chunks_v2/yt/unknown/<shard>/<id>.json`** holds `source`, `source_id` (`<recording-uuid>_<segment>`), `chunk_index`, `start_s_in_source`, `end_s_in_source`, `duration_s`, `num_channels`, `stream_role`, and `language` (always `null` here). **`<id>.lang.json`** holds `language`, `confidence`, `method` (`mms_lid_2048`), `secondary`, `agreement`, and `chunk_duration_s`.
183
+
184
+ **`val_split_v2.json`** holds `seed` (1729), `per_lang_target` (30), `min_lid_confidence` (0.7), `per_language`, `per_language_per_source`, `missing_tier1` (san, sin, snd, bod, doi, kok, mni, sat, kas), and `files` (420 paths).
185
+
186
+ ### 3.3 Splits
187
+
188
+ | Split | Clips | Definition |
189
+ |---|---:|---|
190
+ | train | 155,441 | every `tokens_v2` file not in `val_split_v2.json` |
191
+ | val | 420 | 30 per language × 14 languages, sampled at clip level with seed 1729 and LID confidence ≥ 0.7. Mix per language: hin = 10 FLEURS + 10 IV + 10 YT; ben/kan/mal/tam/tel = 15 FLEURS + 15 YT; all others = 30 YT |
192
+ | test | none | no held-out test split exists |
193
+
194
+ ### 3.4 Statistics (`tokens_v2`)
195
+
196
+ ![tokens_v2 language distribution](figures/tokens_v2_language_distribution.png)
197
+ *Figure 1. Left: hours of real speech per language (sum of `duration_s × mean(valid_token_mask)`). Right: clip counts. Source: every `*.meta.json` inside `data/tokens_v2.tar`, indexed by streaming the archive from this repo (`_tools/stream_index.py`, `_tools/stats_tokens.py` → `_stats/tokens_v2_stats.json`).*
198
+
199
+ | Group | Lang | Clips | Speech h | Padded h | Median LID conf | Empty transcripts |
200
+ |---|---|---:|---:|---:|---:|---:|
201
+ | yt | tam | 27,732 | 56.74 | 154.07 | 0.9997 | 5 |
202
+ | yt | hin | 25,696 | 43.93 | 142.76 | 0.9785 | 0 |
203
+ | yt | ben | 20,322 | 28.17 | 112.90 | 0.9999 | 0 |
204
+ | yt | asm | 9,642 | 20.06 | 53.57 | 0.9998 | 4 |
205
+ | yt | kan | 6,828 | 14.38 | 37.93 | 0.9991 | 1 |
206
+ | yt | urd | 6,053 | 12.94 | 33.63 | 0.9473 | 0 |
207
+ | yt | tel | 6,694 | 12.30 | 37.19 | 0.9966 | 0 |
208
+ | yt | mar | 5,857 | 11.12 | 32.54 | 0.9995 | 0 |
209
+ | yt | pan | 4,846 | 8.18 | 26.92 | 0.9932 | 0 |
210
+ | yt | guj | 3,453 | 8.02 | 19.18 | 0.9997 | 0 |
211
+ | yt | mal | 2,731 | 5.02 | 15.17 | 0.9998 | 0 |
212
+ | yt | eng | 2,838 | 4.66 | 15.77 | 0.9969 | 0 |
213
+ | yt | nep | 382 | 0.71 | 2.12 | 0.9997 | 0 |
214
+ | yt | ori | 165 | 0.46 | 0.92 | 0.9881 | **165** |
215
+ | iv | hin | 20,151 | 29.64 | 111.95 | (dataset label) | 0 |
216
+ | fleurs | mal | 2,931 | 9.40 | 16.28 | (dataset label) | 0 |
217
+ | fleurs | tam | 2,367 | 8.41 | 13.15 | (dataset label) | 0 |
218
+ | fleurs | kan | 2,283 | 8.07 | 12.68 | (dataset label) | 0 |
219
+ | fleurs | tel | 2,302 | 7.75 | 12.79 | (dataset label) | 0 |
220
+ | fleurs | hin | 2,120 | 6.51 | 11.78 | (dataset label) | 0 |
221
+ | fleurs | ben | 468 | 1.64 | 2.60 | (dataset label) | 0 |
222
+ | **total** | 14 langs | **155,861** | **298.11** | **865.90** | | |
223
+
224
+ The real speech per 20 s window has a mean of 6.62 s for YT (median 4.89), 5.30 s for IV (median 3.78) and 12.07 s for FLEURS (median 11.56). Across the corpus, **about 66% of token positions are padding**.
225
+
226
+ ![tokens_v2 quality distributions](figures/tokens_v2_quality_distributions.png)
227
+ *Figure 2. Left: real speech seconds per window by source (log y). Middle: MMS-LID-2048 confidence for the 123,239 YouTube clips (minimum 0.70002; the 0.7 quarantine gate is visible). Right: Whisper `transcript_avg_logprob` for the 120,786 YT clips with a non-zero value (median −0.1506; the remaining 2,453 store 0.0 or nothing, because of a faster-whisper adapter bug documented in the project notes). Source: `_index/tokens_v2.jsonl` → `_stats/tokens_v2_distributions.json`.*
228
+
229
+ ### 3.5 Statistics (`chunks_v2` and quarantine)
230
+
231
+ ![chunks_v2 duration and LID](figures/chunks_v2_duration_lid.png)
232
+ *Figure 3. Left: VAD chunk durations from the `.json` sidecars (accepted vs quarantined, log y). Right: top-25 MMS-LID top-1 labels over accepted chunks (log y). Source: `chunks_v2` sidecars and `chunks_v2_quarantine.tar` (streamed from this repo) → `_stats/chunks_stats.json`.*
233
+
234
+ | | `chunks_v2` (accepted) | `chunks_v2_quarantine` |
235
+ |---|---:|---:|
236
+ | Chunks | 133,517 | 39,637 |
237
+ | Audio hours | 245.52 | 35.78 |
238
+ | Mean / median duration (s) | 6.62 / 4.90 | 3.25 / 1.89 |
239
+ | Min / max duration (s) | 0.2 / 20.0 | 0.1 / 20.0 |
240
+ | Median LID confidence | 0.9984 | 0.4026 |
241
+ | Chunks with LID confidence < 0.7 | 0 | 39,637 (all) |
242
+ | Distinct LID top-1 labels | 197 | 702 |
243
+ | Source recordings | 217 | 217 |
244
+
245
+ The accepted chunks are spread across 197 distinct LID labels. Only 14 languages were tokenized. Accepted chunks in other labels were not tokenized, for example san 2,971, npi 2,900 (of which 382 tokenized as `nep`), ory 1,259 (165 tokenized as `ori`), sin 531, snd 462 and ara 317. Of the 133,517 accepted chunks, 123,239 appear in `tokens_v2/yt`.
246
+
247
+ The sidecars come from the local `chunks_v2` tree, which produced the uploaded tar. A partial re-index of the uploaded tar found byte-identical sidecars: 34,843 of 34,843 compared (26% of the archive) were identical and none were missing locally. The quarantine numbers come from the uploaded tar itself.
248
+
249
+ ### 3.6 Language mixture used in training
250
+
251
+ ![sampling weights](figures/language_sampling_weights.png)
252
+ *Figure 4. Natural share of training clips vs the temperature-sampled share π_l ∝ n_l^{1/τ} with τ = 3.3 (the `VoxtralDataset` default at the reference-run commit `c416eb4`). Source: `_stats/sampling_weights.json`, computed from the clip counts in Figure 1 minus `val_split_v2.json`.*
253
+
254
+ Temperature sampling compresses Hindi from 30.8% to 12.8% of draws and raises Odia from 0.09% to 2.2%. Odia's 135 training clips all have empty transcripts.
255
+
256
+ ### 3.7 Filtering and decontamination
257
+
258
+ - **VAD.** Silero VAD v6 with min speech 300 ms, min silence 500 ms, speech pad 150 ms and max segment 20 s. Mono mixdown applies unless the stereo L/R correlation is below 0.5 (`scripts/vad_chunker.py`).
259
+ - **LID gate.** MMS-LID-2048 runs on every chunk. A chunk is quarantined if its confidence is below 0.7 or the primary and secondary predictions disagree (`scripts/detect_language.py`).
260
+ - **Music.** Per-source harmonicity plus tempo heuristic over 217 sources, of which 49 are flagged `music_likely` (`source_music_flags.json`). The flag was intended to gate Demucs. It is **not** applied as a training filter, and `music_likely` is `null` in every sampled token sidecar.
261
+ - **Repetition loops.** 2,779 token sidecars carry `quarantine_reason = "repetition_loop"` (max trigram fraction ≥ 0.30). The loader at the reference-run commit `c416eb4` has no quarantine filter. A later commit (`9015984`) adds one, so whether the §5 runs excluded these clips cannot be verified.
262
+ - **SNR / speech-ratio / clipping.** The `snr_db`, `speech_ratio` and `clip_ratio` fields exist but are `null` in all 155,861 sidecars (full scan of `_index/tokens_v2.jsonl`), so they were **not measured**.
263
+ - **Decontamination against public benchmarks.** **Not performed.** FLEURS *train* and *test* clips may both appear in `tokens_v2/fleurs`, because the split of origin is not stored in the sidecars. The tokenizer was trained on FLEURS train and benchmarked on FLEURS test.
264
+
265
+ ---
266
+
267
+ ## 4. Processing procedure and the objective this data feeds
268
+
269
+ ### 4.1 Processing stages (as run)
270
+
271
+ | Stage | Tool / setting | Output |
272
+ |---|---|---|
273
+ | Index | project search terms → YouTube search (min duration 30 min) | `indic_urls*.txt` |
274
+ | Scrape | `yt-dlp` + `ffmpeg segment` (stream copy, no transcode) | `chunks_indic_yt` (57,668 × 20 s `.m4a`) |
275
+ | VAD chunk | Silero VAD v6 (settings in §3.7), resample to 24 kHz | `chunks_v2` |
276
+ | LID | MMS-LID-2048, gate at 0.7 | `.lang.json`, `chunks_v2_quarantine` |
277
+ | ASR + alignment | Whisper-large-v3 word timestamps. YouTube used batched faster-whisper (8 same-language clips concatenated per call); Odia is unsupported by faster-whisper, so its transcripts are empty | `transcript` |
278
+ | Text tokenizer | SentencePiece Unigram, vocab 65,536, `character_coverage` 0.9999, trained on FLEURS-train transcripts (`training_corpus.txt`, 8.56 MB); 23 language tags (IDs 4–26) + 6 control tokens | `omnivoxtral_sp.model` |
279
+ | Audio tokenizer | Kyutai Mimi, 8 of its RVQ codebooks, 12.5 Hz | audio tokens |
280
+ | Interleave | 5 Hz text, stride 21, 2 s text/audio offset (first 2 s audio + last 2 s text dropped), zero-pad to 20 s, `valid_token_mask` | `tokens_v2` |
281
+ | Post-hoc QC | repetition-loop flag (trigram ≥ 0.30), pinned val split | sidecar fields, `val_split_v2.json` |
282
+
283
+ Index timestamps: the newest `tokens_v2` member is dated 2026-05-06 09:49 UTC, and the newest `chunks_v2` member 2026-05-05 18:01 UTC. **Processing compute and wall time were not measured.** The project notes give throughput for batched faster-whisper (113 files/min/rank in a smoke test), but there is no end-to-end log.
284
+
285
+ ### 4.2 Training objective that consumes these tokens
286
+
287
+ The objective below is transcribed from `src/voxtral/trainer/omni_trainer.py` at commit `c416eb4`, which is the commit the §5 runs logged.
288
+
289
+ Let $x_{1..N}$ be the 1,890-token sequence and $m_t \in \{0,1\}$ the `valid_token_mask`. The temporal transformer predicts $x_{t+1}$. Position weights are indexed by target position $k$ (`full_weights[1:]`) and repeat a stride-21 pattern
290
+
291
+ $$
292
+ \omega_k=\begin{cases}w_{\text{text}} & k \bmod 21 = 0\\ w_{\text{sem}} & ((k \bmod 21)-1) \bmod 8 = 0\\ w_{\text{ac}} & \text{otherwise}\end{cases},\qquad \tilde\omega_t=\frac{\omega_{t}}{\frac1N\sum_s \omega_s}
293
+ $$
294
+
295
+ $$
296
+ \mathcal L_{\text{temporal}}=\frac{\sum_t m_t\,\tilde\omega_t\,\bigl(-\log p_\theta(x_{t+1}\mid x_{\le t})\bigr)}{\sum_t m_t}
297
+ $$
298
+
299
+ At each audio frame $f$, the depth transformer predicts the 8 codebooks autoregressively, using focal cross-entropy with $\gamma = 2$, a per-codebook weight $\alpha_0 = 100$, $\alpha_{1..7} = 1$, and RVQ dropout applied only during training, with $d_0 = 1$ (q0 is never dropped, `drop_mask[0] = True`) and $d_{1..7} \sim \text{Bernoulli}(0.7)$:
300
+
301
+ $$
302
+ \ell_q=\frac{\sum_f m_f\,(1-p_{f,q})^{\gamma}\,(-\log p_{f,q})}{\sum_f m_f},\qquad
303
+ \mathcal L_{\text{depth}}=\frac{\sum_q \alpha_q d_q\,\ell_q}{\sum_q \alpha_q d_q},\qquad
304
+ \mathcal L=\mathcal L_{\text{temporal}}+\mathcal L_{\text{depth}}
305
+ $$
306
+
307
+ Language mixing is $\pi_l = n_l^{1/\tau} / \sum_{l'} n_{l'}^{1/\tau}$ with $\tau = 3.3$.
308
+
309
+ No preference optimisation, RL, reward model or PRM was applied to this data. Those methods do not apply to this repository.
310
+
311
+ ### 4.3 Reference-run hyperparameters (from W&B `config.yaml`)
312
+
313
+ | Hyperparameter | 5krth3fs | dq7kimwg |
314
+ |---|---|---|
315
+ | Base | `mistralai/Mistral-7B-v0.3`, `prune_layers=2` (temporal 4,550,955,008 params) | same |
316
+ | Adapter | LoRA r=128 (no DoRA) | same |
317
+ | Depth transformer | 4 layers, 16 heads, dim 1024 (88,351,744 params) | same |
318
+ | `loss_weights` [text, sem, ac] | [100, 1, 1] | [10, 1, 1] |
319
+ | Depth | focal γ=2, mask rate 0.15, q-dropout 0.3, label smoothing 0 | same |
320
+ | Optimiser | AdamW β=(0.9, 0.95), ε=1e-9, weight decay 0 | same |
321
+ | LR | peak 3e-4, warm-up 500, decay to 0 at 20,000 (as logged) | peak 1e-4, same schedule |
322
+ | Batch | 1 per rank × 4 ranks (DDP), grad-accum 1 | same |
323
+ | Grad clip | 1.0 | same |
324
+ | Steps | 20,000 | 20,000 |
325
+ | Data | `./data/tokens_v2` + pinned `val_split_v2.json`; val every 500 steps on 50 batches | same |
326
+ | Precision / memory | bf16, gradient checkpointing, no `torch.compile` | same |
327
+ | Seed | 42 | 42 |
328
+ | Hardware | 4 GPUs. W&B records "NVIDIA A10G"; a later audit of this host (2026-10-25) found 4× NVIDIA L4 | same |
329
+ | Wall time | 26,936 s (7.48 h) | 26,922 s (7.48 h) |
330
+ | Code | `c416eb4bd6ed7e465d3c6f8bfe7160a592326f62` (W&B git record) | same |
331
+
332
+ ---
333
+
334
+ ## 5. Training curves (reference runs on this data)
335
+
336
+ ![reference training curves](figures/reference_training_curves.png)
337
+ *Figure 5. The two 20k-step OmniVoxtral runs on `data/tokens_v2`. Thin lines: train losses averaged over 50 steps. Thick lines: val every 500 steps. The bottom panels show the logged LR, depth-transformer token accuracy (q0 and q1–7), and text-token accuracy. Sources: `logs/wandb/run-20260506_201931-5krth3fs/files/output.log` and `logs/wandb/run-20260507_040612-dq7kimwg/files/output.log`, parsed by `_tools/plot_curves.py` → `_stats/reference_runs.json`. The total and temporal losses are weighted by `loss_weights` and are **not comparable across the two runs**. The depth loss uses identical settings in both runs and is comparable.*
338
+
339
+ | Metric | 5krth3fs | dq7kimwg |
340
+ |---|---:|---:|
341
+ | val total @500 → @20k | 14.813 → 14.589 | 14.996 → 10.609 |
342
+ | best val total (step) | 14.209 (5,000) | 10.596 (15,500) |
343
+ | val temporal @20k (best, step) | 7.604 (7.360, 16,000) | 5.682 (5.674, 14,500) |
344
+ | **val depth @20k** (comparable) | **6.984** | **4.927** |
345
+ | train depth-acc q1–7 @20k (max) | 0.307 (0.346) | 0.328 (0.367) |
346
+ | train depth-acc q0 @20k | 0.182 | 0.242 |
347
+ | train text-token accuracy (max over run) | 0.000 (0.001) | 0.000 (0.001) |
348
+ | 50-step windows with `grad_norm=inf` | 400/400 | 400/400 |
349
+
350
+ There is also a model-side hill-climb over the project's experiment ledger, which ships in `autoresearch_snapshot.tar.gz`:
351
+
352
+ ![autoresearch ledger](figures/autoresearch_ledger_hillclimb.png)
353
+ *Figure 6. `total_loss` for the 522 numeric rows of `autoresearch/memory/results.tsv` (495 keep, 21 discard, 3 crash, 3 oom_risk), with the running best of kept rows. The rows mix fake-data smoke tests, 1-layer to 7B models, the earlier v1 token set and changing loss definitions, so this is a chronology of logged numbers, **not** a controlled hill-climb on this dataset. Source: `autoresearch_snapshot.tar.gz` → `_stats/autoresearch_ledger.json`.*
354
+
355
+ ---
356
+
357
+ ## 6. Evaluation
358
+
359
+ ### 6.1 Codec fidelity on Indic speech (Mimi round trip)
360
+
361
+ ![codec benchmark](figures/codec_benchmark_mimi.png)
362
+ *Figure 7. Mimi encode/decode with 4 and 8 codebooks on 10 clips per language for the 13 real languages. PESQ is wideband at 16 kHz. Source: `data/codec_benchmark_results/raw_results.csv` (2026-03-13). Nine further languages in the same file are synthetic sine placeholders and are excluded.*
363
+
364
+ | Metric (mean over 13 langs, n=10 each) | 4 codebooks | 8 codebooks (used) |
365
+ |---|---:|---:|
366
+ | PESQ | 1.44 | 1.85 (range 1.41 ori – 2.16 guj) |
367
+ | F0 correlation | 0.892 | 0.943 (min 0.831 nep) |
368
+ | Energy correlation | 0.963 | 0.983 |
369
+
370
+ The benchmark's own pass threshold (PESQ ≥ 3.0) was met by 0/22 languages. The project kept Mimi at 8 codebooks after recalibrating against Moshi's reported English PESQ of 2.45, as cited in `ANALYSIS.md`. No subjective listening test (MOS) was run, so it is **not measured**. Confidence intervals were not computed (n=10 per cell).
371
+
372
+ ### 6.2 Text-tokenizer fertility
373
+
374
+ ![tokenizer fertility](figures/tokenizer_fertility.png)
375
+ *Figure 8. Mean tokens per whitespace word on up to 50 FLEURS-test sentences per language. The SentencePiece model was trained only on FLEURS-train transcripts. Source: `data/tokenizer/comparison.md`.*
376
+
377
+ Mean fertility drops from **10.79** (Mistral BPE, 32,768 vocab) to **1.91** (OmniVoxtral SP, 65,536). The largest gains are for Malayalam (22.20 → 2.49) and Odia (18.19 → 2.05).
378
+
379
+ ### 6.3 Transcript and split quality
380
+
381
+ ![script audit](figures/transcript_script_audit.png)
382
+ *Figure 9. Fraction of sampled YouTube transcripts whose characters are mostly outside the expected script (phase-0 audit, 2026-05-07; *n* per bar). Source: `autoresearch_loop/runs/phase0_audit.json` (inside `experiments/autoresearch_loop`).*
383
+
384
+ | Check | Result | Source |
385
+ |---|---|---|
386
+ | Wrong-script transcripts (sampled) | asm 33/33 (1.00), mal 59/66 (0.89), tel 20/66 (0.30), pan 9/33 (0.27), guj 4/33 (0.12), ben 4/66 (0.06), hin 3/99 (0.03); eng, kan, mar, tam, urd 0 | `phase0_audit.json` |
387
+ | Empty transcripts | ori 165/165; tam 5, asm 4, kan 1 | `tokens_v2` sidecars |
388
+ | Repetition-loop transcripts | 2,779 flagged (1.8% of clips) | `tokens_v2` sidecars |
389
+ | `transcript_avg_logprob` 0.0 or absent (adapter bug) | 2,453 of 123,239 YT clips; all IV and FLEURS clips | `tokens_v2` sidecars |
390
+ | Val split source-disjointness | **Fails.** The 325 YT val clips come from 134 source recordings. All 134 also contribute training clips, and 94,875 of 122,914 YT training clips share a recording with some val clip | `val_split_v2.json` × `chunks_v2` `source_id` |
391
+ | Human-transcript WER of the pseudo-labels | **not measured** | none |
392
+ | Speaker / gender / dialect balance | **not measured** (no speaker labels) | none |
393
+
394
+ ### 6.4 Downstream: a model trained on this data
395
+
396
+ | Model (all trained on `tokens_v2`) | Eval | n | Result |
397
+ |---|---|---:|---|
398
+ | 5krth3fs, step 20k | val losses (in-recording, see 6.3) | 50 batches | total 14.589, temporal 7.604, depth 6.984 |
399
+ | dq7kimwg, step 20k | same | 50 batches | total 10.609, temporal 5.682, depth 4.927 |
400
+ | trial 22 (PURE-NLL: loss weights [1,1,1], γ=0, LR 1e-4), step 2,000 | free-run generation, Whisper LID on generated audio, 10 languages × 3 seeds, T=0.8, top-k 250 | 30 | LID accuracy **0.10** (3/30; 95% Wilson CI 0.035–0.256; the only correct language was English, 3/3). Silent rate 0.40. Non-empty ASR transcript rate 0.90 |
401
+ | 5krth3fs / dq7kimwg generated samples | none | none | audio is in `experiments/outputs.tar`; **not scored** |
402
+
403
+ No standard speech benchmark (FLEURS ASR WER, TTS MOS, Full-Duplex-Bench, and so on) was run on models trained from this data, so none is reported.
404
+
405
+ ---
406
+
407
+ ## 7. Discussion: negative results and lessons
408
+
409
+ 1. **The pseudo-labels are the weakest link.** All text in `tokens_v2` is Whisper-large-v3 output, including the IndicVoices clips, whose human transcripts were available upstream and were not used. For Assamese, the sampled transcripts were 100% in the wrong script (33/33 sampled; examples include English, Gurmukhi and Devanagari text), Malayalam was 89%, and Odia transcripts are empty. The text stream for these languages teaches the wrong target. Mask or re-transcribe them before you rely on text loss.
410
+ 2. **Two-thirds of the sequence is padding.** Fixed 20 s windows around VAD chunks with median length 4.9 s leave about 66% of positions masked. Packing several chunks per window would roughly triple the useful tokens per step.
411
+ 3. **The val split measures memorisation of recordings, not generalisation.** All 217 recordings appear in train, and every YT val clip shares its recording with training clips. Lower val loss on this split should not be read as transfer to new speakers or channels. Rebuild the split by `source_id` prefix.
412
+ 4. **Concentration.** Only 217 source recordings back 123,239 YT clips. Tamil and Hindi together are 50% of clips (natural share), and nep and ori have 382 and 165 clips. Temperature sampling (τ = 3.3) up-weights the tails, but it cannot add speakers.
413
+ 5. **Loss went down while the model learned no language identity.** Across more than 500 logged trials on this corpus family, teacher-forced loss fell while free-run LID stayed at chance (§6.4). Project diagnostics traced this to a model-side defect, not a data defect: the SentencePiece language-tag rows (IDs 10–26) inherited all-zero Mistral embedding rows and were never initialised. The lesson for users of this data is that val loss alone is not evidence of a usable model. Gate on a generation-side metric.
414
+ 6. **`grad_norm=inf` in every logging window of both runs.** This happens under both `loss_weights=[100,1,1]` (`5krth3fs`) and `[10,1,1]` (`dq7kimwg`, 400/400 windows), so the weights are not the cause. A later root-cause analysis (2026-05-23, `_safe_grad_norm` docstring in `omni_trainer.py` at `9015984`) found that the depth-transformer backward injects a gradient of about 5e33 into the temporal embedding. The fp32 sum of squares then overflows to inf. The `isfinite` skip guard active at run time would then skip `optimizer.step()`. **The curves shown may therefore reflect far fewer optimiser updates than the step count suggests.** The eventual fix is overflow-proof per-parameter fp64 clipping (`9015984`). Text-token accuracy never left 0.000–0.001 in either run.
415
+ 7. **The codec is a ceiling.** Mimi at 8 codebooks reaches mean PESQ 1.85 on Indic read speech. Any model trained on these tokens inherits that reconstruction ceiling.
416
+
417
+ ---
418
+
419
+ ## 8. Intended use, limitations, risks
420
+
421
+ **Intended use.** This is an internal research backup for reproducing OmniVoxtral speech-LM experiments: inspecting the token format, reproducing the reference runs, and auditing the pipeline.
422
+
423
+ **Out of scope.** Do not use it for:
424
+
425
+ - redistributing the YouTube-derived audio or transcripts;
426
+ - commercial training;
427
+ - evaluating ASR quality, since the labels are machine-generated;
428
+ - speaker identification or any use that profiles individuals.
429
+
430
+ **Limitations.**
431
+
432
+ - Machine transcripts only.
433
+ - Weak language labels: LID comes from audio, and the `chunks_v2` sidecars carry `language: null`.
434
+ - No speaker, gender or dialect metadata.
435
+ - `source_url` is null, so YouTube provenance is not recoverable per clip.
436
+ - No SNR or music filtering applied.
437
+ - The val split is not source-disjoint.
438
+ - Nine Tier-1 languages are missing from tokens: san, sin, snd, bod, doi, kok, mni, sat, kas.
439
+
440
+ **Risks.**
441
+
442
+ - **Copyright.** The YouTube audio belongs to third parties. Hosting it publicly redistributes it.
443
+ - **Privacy.** The recordings contain identifiable voices of people who did not consent to inclusion.
444
+ - **Bias.** The corpus is skewed toward the content and speakers of 217 recordings.
445
+ - **Mislabelled licences.** FLEURS sidecars carry `apache`, while the upstream licence is CC-BY-4.0.
446
+
447
+ ---
448
+
449
+ ## 9. Reproducibility
450
+
451
+ ```bash
452
+ # download (use a disk with >200 GB free; never / or /tmp)
453
+ huggingface-cli download viai957/omnivoxtral-data --repo-type dataset --local-dir ./omnivoxtral-data
454
+
455
+ # reassemble split archives
456
+ cat data/chunks_v2/chunks_v2.tar.part.* | tar -x
457
+ cat experiments/autoresearch_loop/autoresearch_loop.tar.part.* | tar -x
458
+ tar -xf data/tokens_v2.tar
459
+
460
+ # read one clip
461
+ python - <<'EOF'
462
+ import json, numpy as np
463
+ p = "tokens_v2/yt/hin/00/00045e3004d24a8ab24fc07126704adc"
464
+ x = np.load(p + ".npy"); m = json.load(open(p + ".meta.json"))
465
+ text = x[0::21]; audio = x.reshape(90, 21)[:, 1:] # 90 windows x (1 text + 20 audio)
466
+ speech_s = m["duration_s"] * np.mean(m["valid_token_mask"])
467
+ print(x.shape, m["language"], round(speech_s, 2), m["transcript"][:60])
468
+ EOF
469
+
470
+ # reference run 5krth3fs, reconstructed from its logged config.yaml (OmniVoxtral repo near c416eb4; env-var config via pydantic-settings)
471
+ DATA_PATH=./data/tokens_v2 MISTRAL_PRETRAINED_PATH=mistralai/Mistral-7B-v0.3 PRUNE_LAYERS=2 \
472
+ LORA_RANK=128 LR=3e-4 LOSS_WEIGHTS='[100,1,1]' MAX_STEPS=20000 WARMUP_STEPS=500 WEIGHT_DECAY=0 \
473
+ DEPTH_NUM_LAYERS=4 DEPTH_FOCAL_GAMMA=2.0 DEPTH_MASK_RATE=0.15 DEPTH_Q_DROPOUT=0.3 GRADIENT_CHECKPOINTING=true SEED=42 \
474
+ torchrun --nproc_per_node=4 scripts/train_omni.py
475
+ ```
476
+
477
+ | Artefact | Identifier |
478
+ |---|---|
479
+ | Hub revision documented here | `f16d88f183131794ceb6b206c1e7bf7722fbff37` (2026-06-05) |
480
+ | Upload script | `.hf_backup.py` (OmniVoxtral repo root) and `.hf_backup.log` |
481
+ | Code that trained the reference runs | `c416eb4bd6ed7e465d3c6f8bfe7160a592326f62`, as recorded by W&B. The working tree was not clean: `scripts/retokenize_v2_batched.py`, which produced the YT tokens, is first committed in `9015984`. The non-finite-gradient step skip was first committed in `56ae3c6` (2026-05-13), but it was an uncommitted working-tree edit when the May 6–7 runs were launched. Treat `c416eb4` as approximate |
482
+ | Code snapshot at upload time | `90159847a4625420465fb99ee82a6719e95f3b82` (2026-06-05, adds the quarantine-aware loader and `quarantine_repetitions.py`) |
483
+ | Pipeline scripts | `scripts/vad_chunker.py`, `scripts/detect_language.py`, `scripts/detect_music.py`, `scripts/retokenize_v2_batched.py`, `scripts/quarantine_repetitions.py`, `scripts/build_val_split.py`, `scripts/train_tokenizer.py`, `scripts/benchmark_codec.py` |
484
+ | Card statistics | `_tools/stream_index.py`, `_tools/stats_tokens.py`, `_tools/stats_chunks.py`, `_tools/plot_*.py`; outputs in `_stats/*.json` |
485
+
486
+ The token shards can be regenerated only partially. The YouTube source audio has no stored URLs, and the IndicVoices and FLEURS text would differ if re-transcribed with a different Whisper build.
487
+
488
+ ---
489
+
490
+ ## 10. Related repositories, licence, citation
491
+
492
+ **Sibling repositories (viai957).**
493
+
494
+ - [`viai957/omnivoxtral-checkpoints`](https://huggingface.co/viai957/omnivoxtral-checkpoints) (private): checkpoints from runs on this data.
495
+ - [`viai957/omnivoxtral-yt-indic-raw`](https://huggingface.co/datasets/viai957/omnivoxtral-yt-indic-raw) (private): WebDataset re-shard of the YouTube audio (`chunks_v2`, `chunks_indic_yt`) with a parquet manifest.
496
+ - [`viai957/omnivoxtral-indic-artifacts`](https://huggingface.co/datasets/viai957/omnivoxtral-indic-artifacts) (private): project-created artefacts only (codec and tokenizer benchmarks, tokenizer, synthetic duplex).
497
+ - [`viai957/indic-duplex-speech-artifacts`](https://huggingface.co/datasets/viai957/indic-duplex-speech-artifacts) (public).
498
+
499
+ ### Licence and rights
500
+
501
+ This repository has no single licence, so the YAML uses `license: other`.
502
+
503
+ - **YouTube-derived material** (`chunks_indic_yt`, `chunks_v2`, `chunks_v2_quarantine`, `tokens_v2/yt`, `indic_urls*.txt`). Copyright remains with the original rights holders, and the project holds no licence to redistribute it. It is research-only. The project's own guidance for this material is that it stays private.
504
+ - **IndicVoices-derived material** (`tokens_v2/iv`, `chunks_indic*`, `chunks_g*_batch2`). CC-BY-4.0, © AI4Bharat. Attribution required.
505
+ - **FLEURS-derived material** (`tokens_v2/fleurs`, `data/tokenizer/training_corpus.txt`). CC-BY-4.0, © Google. Attribution required.
506
+ - **Project-created material** (benchmarks, tokenizer model, scripts, ledgers, split files). Released by the project. The upstream OmniVoxtral/Voxtral code is MIT.
507
+ - **Mimi codec** (Kyutai), used to produce the audio tokens: see the Kyutai model licence.
508
+
509
+ ### Citation
510
+
511
+ ```bibtex
512
+ @misc{omnivoxtral_data_2026,
513
+ title = {OmniVoxtral Data: interleaved Mimi/SentencePiece token corpus for Indic speech-language modelling (working backup)},
514
+ author = {{viai957}},
515
+ year = {2026},
516
+ howpublished = {\url{https://huggingface.co/datasets/viai957/omnivoxtral-data}},
517
+ note = {Revision f16d88f183131794ceb6b206c1e7bf7722fbff37}
518
+ }
519
+ @article{conneau2022fleurs,
520
+ title = {FLEURS: Few-shot Learning Evaluation of Universal Representations of Speech},
521
+ author = {Conneau, Alexis and Ma, Min and Khanuja, Simran and Zhang, Yu and Axelrod, Vera and Dalmia, Siddharth and Riesa, Jason and Rivera, Clara and Bapna, Ankur},
522
+ journal = {arXiv preprint arXiv:2205.12446}, year = {2022}
523
+ }
524
+ @article{javed2024indicvoices,
525
+ title = {IndicVoices: Towards building an Inclusive Multilingual Speech Dataset for Indian Languages},
526
+ author = {Javed, Tahir and others},
527
+ journal = {arXiv preprint arXiv:2403.01926}, year = {2024}
528
+ }
529
+ @article{defossez2024moshi,
530
+ title = {Moshi: a speech-text foundation model for real-time dialogue},
531
+ author = {D{\'e}fossez, Alexandre and others},
532
+ journal = {arXiv preprint arXiv:2410.00037}, year = {2024}
533
+ }
534
+ @article{radford2022whisper,
535
+ title = {Robust Speech Recognition via Large-Scale Weak Supervision},
536
+ author = {Radford, Alec and Kim, Jong Wook and Xu, Tao and Brockman, Greg and McLeavey, Christine and Sutskever, Ilya},
537
+ journal = {arXiv preprint arXiv:2212.04356}, year = {2022}
538
+ }
539
+ @article{pratap2023mms,
540
+ title = {Scaling Speech Technology to 1,000+ Languages},
541
+ author = {Pratap, Vineel and others},
542
+ journal = {arXiv preprint arXiv:2305.13516}, year = {2023}
543
+ }
544
+ ```
figures/autoresearch_ledger_hillclimb.png ADDED

Git LFS Details

  • SHA256: 549301234c12fa18ab985879bae7ec0af0c7e572036d4528768ef4e5b4fa6d4f
  • Pointer size: 130 Bytes
  • Size of remote file: 63.7 kB
figures/chunks_v2_duration_lid.png ADDED

Git LFS Details

  • SHA256: 621e365086e6b2e71b03d36a1f6c8e4b254f84cc0401114190a7d8c123f601ce
  • Pointer size: 130 Bytes
  • Size of remote file: 53.9 kB
figures/codec_benchmark_mimi.png ADDED

Git LFS Details

  • SHA256: 8019f89001820528dcd929f0bd64983cc376cea1ff56659a6cd7642aa3388c20
  • Pointer size: 130 Bytes
  • Size of remote file: 68.1 kB
figures/language_sampling_weights.png ADDED

Git LFS Details

  • SHA256: 9a945d544e5e74577bf2b9437128a50d285cbb705f4c1a9ce8db6ac65707361a
  • Pointer size: 130 Bytes
  • Size of remote file: 46.8 kB
figures/reference_training_curves.png ADDED

Git LFS Details

  • SHA256: 37d57b0b243992a554329bc9ad98cad7ea502f4504e49b25915c6580c3b00f81
  • Pointer size: 131 Bytes
  • Size of remote file: 618 kB
figures/tokenizer_fertility.png ADDED

Git LFS Details

  • SHA256: 0de1b92c9ff4c2e2f0ecbdd846722f94c75a56c89a624e995d2ff3d4ebdf0b2c
  • Pointer size: 130 Bytes
  • Size of remote file: 41 kB
figures/tokens_v2_language_distribution.png ADDED

Git LFS Details

  • SHA256: ed514ac2134555bd6e4afda3b3effe002be92a685e0f990d5f7117094c0208c2
  • Pointer size: 130 Bytes
  • Size of remote file: 66.1 kB
figures/tokens_v2_quality_distributions.png ADDED

Git LFS Details

  • SHA256: 985570c04b8fc2824e293bf687a2a9737aea24f7612134cdf7e12701eb63885a
  • Pointer size: 130 Bytes
  • Size of remote file: 73.3 kB
figures/transcript_script_audit.png ADDED

Git LFS Details

  • SHA256: 0ba86c7e1fff11afb4bf62ff08e3921005c48f4835a8d1301f686776ad80d6bc
  • Pointer size: 130 Bytes
  • Size of remote file: 42.9 kB