aabroukh commited on
Commit
27b7e9f
·
verified ·
1 Parent(s): 29f4335

Fix full-corpus zip layout in croissant.json and stimuli README

Browse files

The zips store WAVs at the archive root, not under audio_full/. Fix the Croissant FileSet includes and the unzip command.

Files changed (2) hide show
  1. croissant.json +3 -3
  2. stimuli/main_study/README.md +3 -3
croissant.json CHANGED
@@ -491,7 +491,7 @@
491
  "@type": "cr:FileObject",
492
  "@id": "audio-zip-01",
493
  "name": "audio_full_01.zip",
494
- "description": "Zip 1 of 14 covering the full TTS-rendered audio corpus. ~1.9 GB. Contains a subset of audio_full/{conv_id}_{turn_no}_{response_idx}.wav files; the per-zip conv_id rollup is in stimuli/main_study/manifest.csv. The full set joins to stimuli/main_study/full_audio_index.csv on audio_file.",
495
  "contentUrl": "https://huggingface.co/datasets/sciminds/same-words-different-judgements/resolve/main/stimuli/main_study/audio_full_zips/audio_full_01.zip",
496
  "encodingFormat": "application/zip",
497
  "sha256": "cc3384114d0859e904a5541b1717648eac998e381055c75c44ed26e0b0754eca"
@@ -626,7 +626,7 @@
626
  "@type": "cr:FileSet",
627
  "@id": "full-audio-wavs",
628
  "name": "full-audio-wavs",
629
- "description": "All 21,603 TTS-rendered .wav files distributed across audio_full_01.zip..audio_full_14.zip. After extracting all 14 zips into a single directory, files are at audio_full/{conv_id}_{turn_no}_{response_idx}.wav and join to the audio_file column in full_audio_index.csv. The per-zip conv_id partition is documented in stimuli/main_study/manifest.csv.",
630
  "containedIn": [
631
  {
632
  "@id": "audio-zip-01"
@@ -672,7 +672,7 @@
672
  }
673
  ],
674
  "encodingFormat": "audio/wav",
675
- "includes": "audio_full/*.wav"
676
  },
677
  {
678
  "@type": "cr:FileObject",
 
491
  "@type": "cr:FileObject",
492
  "@id": "audio-zip-01",
493
  "name": "audio_full_01.zip",
494
+ "description": "Zip 1 of 14 covering the full TTS-rendered audio corpus. ~1.9 GB. Contains a subset of the {conv_id}_{turn_no}_{response_idx}.wav files at the archive root; the per-zip conv_id rollup is in stimuli/main_study/manifest.csv. The full set joins to stimuli/main_study/full_audio_index.csv on audio_file.",
495
  "contentUrl": "https://huggingface.co/datasets/sciminds/same-words-different-judgements/resolve/main/stimuli/main_study/audio_full_zips/audio_full_01.zip",
496
  "encodingFormat": "application/zip",
497
  "sha256": "cc3384114d0859e904a5541b1717648eac998e381055c75c44ed26e0b0754eca"
 
626
  "@type": "cr:FileSet",
627
  "@id": "full-audio-wavs",
628
  "name": "full-audio-wavs",
629
+ "description": "All 21,603 TTS-rendered .wav files distributed across audio_full_01.zip..audio_full_14.zip. Each zip holds its files at the archive root as {conv_id}_{turn_no}_{response_idx}.wav; extract all 14 into one directory (e.g. stimuli/main_study/audio_full/). Filenames join to the audio_file column in full_audio_index.csv. The per-zip conv_id partition is documented in stimuli/main_study/manifest.csv.",
630
  "containedIn": [
631
  {
632
  "@id": "audio-zip-01"
 
672
  }
673
  ],
674
  "encodingFormat": "audio/wav",
675
+ "includes": "*.wav"
676
  },
677
  {
678
  "@type": "cr:FileObject",
stimuli/main_study/README.md CHANGED
@@ -16,8 +16,8 @@
16
  `used_in_study` flag.
17
  - `audio_full_zips/audio_full_01.zip` … `audio_full_14.zip` — **the
18
  actual 21,603 .wav files** (16-bit mono 24 kHz PCM, ~26 GB compressed / ~34 GB
19
- raw), split across 14 zips of ~1.9 GB each. Filenames inside follow
20
- `audio_full/{conv_id}_{turn_no}_{response_idx}.wav` and join to
21
  `full_audio_index.csv` on `audio_file`. The per-zip `conv_id`
22
  partition is in `manifest.csv`.
23
 
@@ -25,7 +25,7 @@
25
  ```bash
26
  hf download sciminds/same-words-different-judgements --repo-type=dataset \
27
  --include "stimuli/main_study/audio_full_zips/*" --local-dir .
28
- for z in stimuli/main_study/audio_full_zips/audio_full_*.zip; do unzip -d stimuli/main_study/ "$z"; done
29
  ```
30
  After extraction, every filename in `full_audio_index.csv` resolves
31
  to a file in `stimuli/main_study/audio_full/`.
 
16
  `used_in_study` flag.
17
  - `audio_full_zips/audio_full_01.zip` … `audio_full_14.zip` — **the
18
  actual 21,603 .wav files** (16-bit mono 24 kHz PCM, ~26 GB compressed / ~34 GB
19
+ raw), split across 14 zips of ~1.9 GB each. Each zip holds its WAVs at
20
+ the top level, named `{conv_id}_{turn_no}_{response_idx}.wav`, which join to
21
  `full_audio_index.csv` on `audio_file`. The per-zip `conv_id`
22
  partition is in `manifest.csv`.
23
 
 
25
  ```bash
26
  hf download sciminds/same-words-different-judgements --repo-type=dataset \
27
  --include "stimuli/main_study/audio_full_zips/*" --local-dir .
28
+ for z in stimuli/main_study/audio_full_zips/audio_full_*.zip; do unzip -q -d stimuli/main_study/audio_full/ "$z"; done
29
  ```
30
  After extraction, every filename in `full_audio_index.csv` resolves
31
  to a file in `stimuli/main_study/audio_full/`.