Datasets:
chore: upload benchmark JSON schema
Browse files- schema/benchmark.schema.json +83 -0
schema/benchmark.schema.json
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
| 3 |
+
"$id": "https://example.invalid/parakeet-context-fusion/benchmark.schema.json",
|
| 4 |
+
"title": "JP-HomophoneBench record",
|
| 5 |
+
"type": "object",
|
| 6 |
+
"required": ["id", "group_id", "split", "text", "category", "source", "difficulty"],
|
| 7 |
+
"properties": {
|
| 8 |
+
"id": {"type": "string", "minLength": 1},
|
| 9 |
+
"group_id": {"type": "string", "minLength": 1},
|
| 10 |
+
"split": {"enum": ["train", "validation", "test"]},
|
| 11 |
+
"audio_filepath": {"type": ["string", "null"]},
|
| 12 |
+
"audio_ref": {
|
| 13 |
+
"type": ["object", "null"],
|
| 14 |
+
"properties": {
|
| 15 |
+
"kind": {"enum": ["hf_row", "local", "none"]},
|
| 16 |
+
"repo_id": {"type": ["string", "null"]},
|
| 17 |
+
"config": {"type": ["string", "null"]},
|
| 18 |
+
"split": {"type": ["string", "null"]},
|
| 19 |
+
"row_id": {"type": ["string", "number", "null"]}
|
| 20 |
+
},
|
| 21 |
+
"additionalProperties": true
|
| 22 |
+
},
|
| 23 |
+
"text": {"type": "string"},
|
| 24 |
+
"target": {
|
| 25 |
+
"type": ["object", "null"],
|
| 26 |
+
"properties": {
|
| 27 |
+
"surface": {"type": "string"},
|
| 28 |
+
"reading": {"type": ["string", "null"]},
|
| 29 |
+
"phones": {"type": "array", "items": {"type": "string"}},
|
| 30 |
+
"pitch_accent": {"type": ["integer", "number", "string", "null"]},
|
| 31 |
+
"start_sec": {"type": ["number", "null"], "minimum": 0},
|
| 32 |
+
"end_sec": {"type": ["number", "null"], "minimum": 0}
|
| 33 |
+
},
|
| 34 |
+
"required": ["surface", "phones"],
|
| 35 |
+
"additionalProperties": true
|
| 36 |
+
},
|
| 37 |
+
"candidates": {
|
| 38 |
+
"type": "array",
|
| 39 |
+
"items": {
|
| 40 |
+
"type": "object",
|
| 41 |
+
"required": ["surface", "phones", "relation"],
|
| 42 |
+
"properties": {
|
| 43 |
+
"surface": {"type": "string"},
|
| 44 |
+
"reading": {"type": ["string", "null"]},
|
| 45 |
+
"phones": {"type": "array", "items": {"type": "string"}},
|
| 46 |
+
"pitch_accent": {"type": ["integer", "number", "string", "null"]},
|
| 47 |
+
"phone_distance": {"type": ["number", "null"], "minimum": 0},
|
| 48 |
+
"relation": {"enum": ["target", "random", "orthographic", "near_homophone", "exact_homophone", "voicing", "long_vowel", "geminate", "moraic_nasal", "pitch_accent", "semantic_only", "prosodic"]}
|
| 49 |
+
},
|
| 50 |
+
"additionalProperties": true
|
| 51 |
+
}
|
| 52 |
+
},
|
| 53 |
+
"category": {"enum": ["general", "voicing", "long_vowel", "geminate", "moraic_nasal", "near_homophone", "pitch_accent", "exact_homophone", "semantic_only", "acoustic_stress"]},
|
| 54 |
+
"source": {
|
| 55 |
+
"type": "object",
|
| 56 |
+
"required": ["dataset", "license"],
|
| 57 |
+
"properties": {
|
| 58 |
+
"dataset": {"type": "string"},
|
| 59 |
+
"config": {"type": ["string", "null"]},
|
| 60 |
+
"split": {"type": ["string", "null"]},
|
| 61 |
+
"source_id": {"type": ["string", "number", "null"]},
|
| 62 |
+
"revision": {"type": ["string", "null"]},
|
| 63 |
+
"license": {"type": "string", "minLength": 1},
|
| 64 |
+
"synthetic": {"type": "boolean", "default": false},
|
| 65 |
+
"audio_redistributed": {"type": "boolean", "default": false}
|
| 66 |
+
},
|
| 67 |
+
"additionalProperties": true
|
| 68 |
+
},
|
| 69 |
+
"difficulty": {
|
| 70 |
+
"type": "object",
|
| 71 |
+
"required": ["acoustic", "lexical", "context"],
|
| 72 |
+
"properties": {
|
| 73 |
+
"acoustic": {"type": "number", "minimum": 0, "maximum": 1},
|
| 74 |
+
"lexical": {"type": "number", "minimum": 0, "maximum": 1},
|
| 75 |
+
"context": {"type": "number", "minimum": 0, "maximum": 1},
|
| 76 |
+
"phone_distance": {"type": ["number", "null"], "minimum": 0}
|
| 77 |
+
},
|
| 78 |
+
"additionalProperties": true
|
| 79 |
+
},
|
| 80 |
+
"metadata": {"type": "object"}
|
| 81 |
+
},
|
| 82 |
+
"additionalProperties": true
|
| 83 |
+
}
|