hak cleaned speech corpus
This refresh provides a converged full train manifest, a frozen eval manifest, and a token-coverage subset of approximately 5000 hours. All three manifests reuse the existing validated FLAC-in-Parquet audio pool; no audio was copied, repacked, or transcoded for this refresh.
Corpus overview
| Variant | Rows | Hours |
|---|---|---|
| train | 6,320,280 | 15152.98 |
| coverage_5000h | 1,534,798 | 4453.51 |
| eval | 495 | 2.00 |
All audio locators are portable and have the form
audio/<subset>/<group>/part-N.parquet#row=N.
The release audit records exact input/output hashes, rejected audio mappings, language-tag validation, and zero train/eval audio-identity overlap.
from datasets import load_dataset
ds = load_dataset("WTFO/hak", "hak-5000h", split="train")
The table shows the 2026-11-22 update described in the next section.
Update 2026-11-22 — label cleaning pass
This update replaces the corpus manifests with the latest cleaned version (built on revision 5c0d885f). No existing audio file was changed, moved or re-encoded; no audio file was added.
| Split | Rows before | Rows now | Hours now |
|---|---|---|---|
| train | 6,638,601 | 6,320,280 | 15152.98 |
| coverage-5000h | 1,668,639 | 1,534,798 | 4453.51 |
| eval | 823 | 495 | 2.00 |
- Text changed: 203,753 rows (punctuation / whitespace only 198,467; Unicode normalisation or letter case only 528; wording changed 4,758). The previous text is kept in
orig_text. List:records/fixed_rows.jsonl.gz. - Removed: 318,649 rows that were in the previous train/eval manifests. They are deleted from the corpus, not flagged. List with a per-row
drop_reason:records/dropped_rows.jsonl.gz.- duplicate audio (the same audio appeared in several rows; one row is kept): 308,489
- row-level adjudication (audio/text mismatch, hallucinated, truncated or shifted transcript, unusable label): 9,040
- train/eval separation (eval rebuild 2026-10-27: train rows with the same text as an eval row, rows moved or removed from eval; earlier leak patches): 856
- rule-based filters (markup/placeholder residue, extreme speech rate, stray symbols, etc.): 264
- Eval: 495 rows = 411
refill+ 84orig(eval_origin:orig= already in the previous eval,refill= moved from the previous train and removed there,common_voice= Common Voice 21 test). No audio row is in both train and eval. - Known residual: 1,747 train rows have exactly the same text as some eval row (different recordings of the same sentence; mostly short common utterances). The 2026-10-27 eval rebuild removed such rows, but later text normalisation created new coincidences. See
records/PENDING.md.
Fields
Existing fields keep their meaning. The following keys appear only on the rows they apply to:
| Field | Where | Meaning |
|---|---|---|
orig_text |
rows whose text changed | text of the previous release |
adj |
some of the changed rows | short tag/reason (in Chinese) of the row-level adjudication that produced the new text; changed rows without adj come from rule-based normalisation or from batches whose reason is only in records/ |
eval_origin |
every eval row | see above |
added_in |
rows that did not exist before | "20261122" |
Because these keys are sparse, the dataset_info block of this README declares every column of the corpus configs so that datasets.load_dataset fills missing ones with null.
Loading the audio
datasets uses one file format per repository, taken from the first config (JSON here). The audio-<set> configs therefore cannot be loaded by name (checked with datasets 3.6.0; this was already the case before this update). Read the audio shards with the Parquet builder instead, or download the file named by audio_parquet and take row audio_row:
from datasets import load_dataset
audio = load_dataset("parquet", data_files="hf://datasets/WTFO/hak/audio/<set>/*/part-*.parquet", streaming=True)
Records
records/ documents how this version was produced (see records/README.md, in Chinese): per-row lists of changed / removed / added rows, ASR hypotheses used as evidence, row-level adjudication logs, audit reports, CHANGELOG.md and the known open issues in PENDING.md.
release.json and cleaning_audit.json at the repository root and the sections of this README outside this update describe earlier releases and were not regenerated.
extra/hak_aug_pending_review_20261023 — 客語大量擴增(等待抽樣檢查,未准入)
狀態:等待抽樣檢查(pending sample check),尚未准入訓練。抽樣檢查通過、使用者決定准入之前,請不要拿這些資料訓練。 每列都有
admitted=false、review_status="pending_sample_check"。
這個資料夾和 corpus/、audio/、extra/hak_tts_20261023/ 分開存放,不修改任何既有檔案。
label 的語言: label 是客語漢字,與父音檔的 label 逐位元組相同。它不是審過的華文。依專案規則,客語交付 label 要用華文,所以這批在轉成並審過華文之前,不符合交付規格。
translation_zh_unreviewed 只是來源附帶的華文參考:詞條列是字典釋義,不是錄音的逐字對譯;句子/TTS 列是未審的來源翻譯。不能直接當 label。
| config | recipe | 列數 | 衍生時數 |
|---|---|---|---|
hak_aug_pending_vc_clean |
Seed-VC 換聲(無噪音) | 250,356 | 274.5 |
hak_aug_pending_noise_padded |
背景噪音+頭尾 1–3 秒 padding | 250,349 | 552.6 |
hak_aug_pending_speed_noise_padded |
加速 1–2.5 倍(保留音高)+噪音+padding | 250,340 | 444.8 |
hak_aug_pending_degraded_noise_padded |
加速+降音質+噪音+padding | 250,317 | 444.7 |
hak_aug_pending_vc_noise_padded |
VC+噪音+padding | 250,349 | 552.6 |
hak_aug_pending_vc_speed_noise_padded |
VC+加速+噪音+padding | 250,341 | 446.1 |
hak_aug_pending_vc_degraded_noise_padded |
VC+加速+降音質+噪音+padding | 250,336 | 445.9 |
- 合計 1,752,388 列、約 3,161 小時。這是衍生時數:同一句的不同版本不能當成不重複的新內容時數。不重複的父音檔約 25 萬筆,其中真人約 11.9 萬、TTS 約 13.2 萬。
- 父音檔品質:
- TTS 父音檔有 93,361 筆(約 71%)原版 ASR 檢查沒通過,在
qc_flags標original_asr_failed_reference_only; - 真人父音檔(客委會辭典/教材官方錄音)沒有做過 ASR,標
original_asr_not_performed。
- TTS 父音檔有 93,361 筆(約 71%)原版 ASR 檢查沒通過,在
- 已在
extra/hak_tts_20261023/以華文 label 推送的 681 個家族,在這裡每個 recipe 也出現一次(共 4,767 列),以客語 label 重複,標also_in_hak_tts_20261023_with_mandarin_label。 - 每列欄位:
- 識別與 label:
id、parent_id、root_parent_id、label; - recipe 與參數:
recipe、params(JSON:噪音 hash、SNR、head/tail 秒數、速度倍率、降質參數、VC 參考 profile 與種子)、duration; - 狀態:
admitted、review_status、label_identical_to_parent、original_asr_passed; - 其他:
split_group、qc_flags。
- 識別與 label:
- 音訊格式:16 kHz 單聲道 FLAC,放在 parquet 裡,features 標
Audio(16000)。 - 切分 train/eval 時,要用
split_group把同一父音檔的所有衍生版放在同一邊。 - 抽樣檢查結果完成後,會放在
extra/hak_aug_pending_review_20261023/SAMPLE_CHECK.md。
Cleaning handoff 2026-10-24
The remote cleaning task (definition-label drop, Hakka-Whisper char-count gate, punctuation on passing rows only, Mandarin-only labels) is described in handoff/cleaning_20261024/TASK.md. Labels in cleaned_20261024/ (when present) supersede hak.*.clean for training.
HAK aug decision 2026-10-24
The user decided not to translate extra/hak_aug_pending_review_20261023/, whose labels are Hakka-Han. Only rows whose family already has a Mandarin label in extra/hak_tts_20261023/ (qc flag also_in_hak_tts_20261023_with_mandarin_label, minus the sample-check exclusions) may be admitted, and they must use that Mandarin label. Every other aug row stays admitted=false. Details: handoff/cleaning_20261024/addendum/ADDENDUM_HAK_AUG_20261024.md.
- Downloads last month
- 602