Align documented schema with validated local format
Browse filesDocumentation only. Clarifies namespaced row_id, original example_id, partition, provenance, and direction. No data payload included.
- docs/SCHEMA.md +8 -1
docs/SCHEMA.md
CHANGED
|
@@ -8,10 +8,12 @@ audio. Files are split into deterministic Parquet shards targeting about
|
|
| 8 |
|
| 9 |
| Field | Type | Description |
|
| 10 |
|---|---|---|
|
| 11 |
-
| `
|
|
|
|
| 12 |
| `partition` | string | `generation` or `understanding` |
|
| 13 |
| `source_subset` | string | Internal source group retained for provenance |
|
| 14 |
| `split` | string | Release split, initially `train` |
|
|
|
|
| 15 |
| `messages` | list of structs | Ordered `{role, modality, content, audio_index}` messages |
|
| 16 |
| `audio` | struct | `{path, bytes}` for the complete encoded target/input audio in this row |
|
| 17 |
| `audio_sha256` | string | SHA-256 of the encoded bytes |
|
|
@@ -21,6 +23,8 @@ audio. Files are split into deterministic Parquet shards targeting about
|
|
| 21 |
| `channels` | int16 | Channel count |
|
| 22 |
| `num_frames` | int64 | Decoded frame count |
|
| 23 |
| `duration_seconds` | float64 | Decoded duration |
|
|
|
|
|
|
|
| 24 |
| `schema_version` | string | `bagpiper-sft-parquet-v1` |
|
| 25 |
|
| 26 |
For an audio message, `content` is a sanitized display filename and
|
|
@@ -31,3 +35,6 @@ The schema audit currently expects one audio object per sequence. If valid
|
|
| 31 |
multi-audio sequences are found, `audio` will be promoted to an ordered list of
|
| 32 |
the same struct without changing message order; this will be documented before
|
| 33 |
the data upload.
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
|
| 9 |
| Field | Type | Description |
|
| 10 |
|---|---|---|
|
| 11 |
+
| `row_id` | string | Globally unique `source_subset:example_id` release key |
|
| 12 |
+
| `example_id` | string | Original source identifier (not globally unique) |
|
| 13 |
| `partition` | string | `generation` or `understanding` |
|
| 14 |
| `source_subset` | string | Internal source group retained for provenance |
|
| 15 |
| `split` | string | Release split, initially `train` |
|
| 16 |
+
| `direction` | string | `text_to_audio` or `audio_to_text` |
|
| 17 |
| `messages` | list of structs | Ordered `{role, modality, content, audio_index}` messages |
|
| 18 |
| `audio` | struct | `{path, bytes}` for the complete encoded target/input audio in this row |
|
| 19 |
| `audio_sha256` | string | SHA-256 of the encoded bytes |
|
|
|
|
| 23 |
| `channels` | int16 | Channel count |
|
| 24 |
| `num_frames` | int64 | Decoded frame count |
|
| 25 |
| `duration_seconds` | float64 | Decoded duration |
|
| 26 |
+
| `metadata_json` | string | Sanitized source annotations; no paths or usernames |
|
| 27 |
+
| `source_revision` | string | Pinned raw Hugging Face source revision |
|
| 28 |
| `schema_version` | string | `bagpiper-sft-parquet-v1` |
|
| 29 |
|
| 30 |
For an audio message, `content` is a sanitized display filename and
|
|
|
|
| 35 |
multi-audio sequences are found, `audio` will be promoted to an ordered list of
|
| 36 |
the same struct without changing message order; this will be documented before
|
| 37 |
the data upload.
|
| 38 |
+
|
| 39 |
+
The audit found source-local ID collisions, so consumers should use `row_id`
|
| 40 |
+
as the key. `example_id` is preserved for traceability.
|