Datasets:
CLAUDE.md: build done, final status and new gotchas
Browse filesCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CLAUDE.md
CHANGED
|
@@ -21,17 +21,16 @@ agreed plan (§2), output format, processing rules per source. Read it before ch
|
|
| 21 |
- `tests/` — `pytest tests` (44 tests, no network).
|
| 22 |
|
| 23 |
## Status (2026-10-24)
|
| 24 |
-
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
GENERATE.md) → fill actual numbers into GENERATE.md §2.
|
| 31 |
|
| 32 |
## Setting up a new machine
|
| 33 |
```bash
|
| 34 |
-
git clone git@hf.co:datasets/mavleo96/turn-detection-data && cd turn-detection-data #
|
| 35 |
python3.12 -m venv .venv && . .venv/bin/activate && pip install -r requirements.txt
|
| 36 |
hf auth login # write token; SSH key must be added on hf.co for git push
|
| 37 |
python -m scripts.spokenwoz.download_text # data.json -> tmp/spokenwoz/text/
|
|
@@ -52,10 +51,14 @@ SpokenWOZ audio (~10 GB download, ~45 GB prepared by `datasets`) downloads on th
|
|
| 52 |
- `hf upload` (CLI v2) handles big folders and resumes; there is no `upload-large-folder` command in this version.
|
| 53 |
- The README `configs:` block lists train/validation/test: the Hub viewer errors until all three splits are uploaded.
|
| 54 |
- Seamless pairs can span batches (~5 conversations per batch skipped) — accepted.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 55 |
|
| 56 |
## Key decisions (details + numbers in GENERATE.md)
|
| 57 |
- Sources: SpokenWOZ first 2,560 / 305 / 610 dialogues (`--limit`, all multi-domain — accepted); Seamless naturalistic
|
| 58 |
-
train batches 0000–0024 + all dev/test.
|
| 59 |
- All audio 16 kHz; VAD 16 kHz + 25 dB gate (chosen on 500 SpokenWOZ validation calls); clips ≤ 30 s, no audio after
|
| 60 |
the stop fires; SpokenWOZ annotation shift on turn ends only; Seamless cap 2 incomplete per turn in every split;
|
| 61 |
3 swapped SpokenWOZ calls skipped; channel 0 = user.
|
|
|
|
| 21 |
- `tests/` — `pytest tests` (44 tests, no network).
|
| 22 |
|
| 23 |
## Status (2026-10-24)
|
| 24 |
+
- **Dataset done and on the Hub**: 333,284 / 37,600 / 60,574 rows (train / validation / test), ~50% complete,
|
| 25 |
+
27.4 GB, ~50/50 SpokenWOZ / Seamless in train. Data uploaded with `hf upload` (Hub commit `d14fe27`); README card
|
| 26 |
+
and actual numbers in GENERATE.md §2 pushed. Checked: no duplicate ids, all splits load from the Hub.
|
| 27 |
+
- Built on a Vast.ai box (46 usable CPUs, ~2 h incl. downloads). Its `/workspace` is not a volume: `tmp/` (raw audio,
|
| 28 |
+
local build, listening WAVs) is lost if the instance is recycled — rebuild per GENERATE.md §1 if needed.
|
| 29 |
+
- No open tasks.
|
|
|
|
| 30 |
|
| 31 |
## Setting up a new machine
|
| 32 |
```bash
|
| 33 |
+
GIT_LFS_SKIP_SMUDGE=1 git clone git@hf.co:datasets/mavleo96/turn-detection-data && cd turn-detection-data # skip the 27 GB of data
|
| 34 |
python3.12 -m venv .venv && . .venv/bin/activate && pip install -r requirements.txt
|
| 35 |
hf auth login # write token; SSH key must be added on hf.co for git push
|
| 36 |
python -m scripts.spokenwoz.download_text # data.json -> tmp/spokenwoz/text/
|
|
|
|
| 51 |
- `hf upload` (CLI v2) handles big folders and resumes; there is no `upload-large-folder` command in this version.
|
| 52 |
- The README `configs:` block lists train/validation/test: the Hub viewer errors until all three splits are uploaded.
|
| 53 |
- Seamless pairs can span batches (~5 conversations per batch skipped) — accepted.
|
| 54 |
+
- 46 Seamless source conversations are empty (0-byte audio, empty transcript); `build.py` skips them.
|
| 55 |
+
- Plenty of HF 429s on tar-header reads without Pro; with HF Pro on, downloads ran ~2 min per batch, no 429s.
|
| 56 |
+
- The Vast box's venv `/venv/turn-data` has no `activate` script but is already on PATH.
|
| 57 |
+
- A git identity isn't set on fresh boxes: use the repo's existing author (`git log -1 --format='%an <%ae>'`).
|
| 58 |
|
| 59 |
## Key decisions (details + numbers in GENERATE.md)
|
| 60 |
- Sources: SpokenWOZ first 2,560 / 305 / 610 dialogues (`--limit`, all multi-domain — accepted); Seamless naturalistic
|
| 61 |
+
train batches 0000–0024 + all dev/test. Actual 333k / 38k / 61k rows (planned ~302k / 36k / 56k).
|
| 62 |
- All audio 16 kHz; VAD 16 kHz + 25 dB gate (chosen on 500 SpokenWOZ validation calls); clips ≤ 30 s, no audio after
|
| 63 |
the stop fires; SpokenWOZ annotation shift on turn ends only; Seamless cap 2 incomplete per turn in every split;
|
| 64 |
3 swapped SpokenWOZ calls skipped; channel 0 = user.
|