Atika88's picture
refactor(data): standardize validation split as val
cb9c93c verified
|
Raw History Blame Contribute Delete
1.6 kB
# Usage Guide
## 0. Read update notes
Before running experiments, read `docs/DATASET_UPDATE_NOTES.md`. Use `metadata/dataset_metadata_public.csv` as the source of truth for row-level labels/transcripts.
## 0.1 Transcript numbering gaps
Some transcript files intentionally skip a sentence ID while preserving the original `01`–`20` numbering. Example: `Clarification.txt` has no `09`. This is expected after curation and should not be interpreted as a missing upload. See `docs/TRANSCRIPT_NUMBERING_NOTES.md` and `metadata/transcript_sentence_inventory_public.csv`.
## 0.2 Category names are English
Public HF paths and metadata use English category names. See `docs/CATEGORY_NAMING.md` before writing scripts that filter by category.
## 1. Read metadata
```python
import pandas as pd
meta = pd.read_csv("metadata/dataset_metadata_public.csv")
print(meta[["audio_path", "split", "speaker_id", "transcript"]].head())
```
## 2. Extract audio shards
Audio is uploaded as tar shards by sentence category to keep the HF repository below the practical 100k-file limit.
```bash
mkdir -p extracted
for shard in data/audio_shards/by_category/*.tar; do
tar -xf "$shard" -C extracted
done
```
After extraction, each metadata `audio_path` resolves under `extracted/`.
## 3. Preserve evaluation protocol
For comparable ASR experiments, use the provided `split` column and avoid mixing speaker labels across train/val/test. The split is speaker-disjoint.
## 4. Citation
Use `docs/CITATION.md` or `CITATION.cff`, then replace the placeholder paper citation with the final DOI once available.