guapaQAQ commited on
Commit
ebec3db
·
1 Parent(s): e5f6e10

Update Gametime (basic) Parquet data

Browse files
Files changed (3) hide show
  1. README.md +122 -0
  2. basic/test.parquet +3 -0
  3. basic/train.parquet +3 -0
README.md ADDED
@@ -0,0 +1,122 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ # Data-files config (no script, Parquet-only)
3
+ configs:
4
+ - config_name: basic
5
+ data_files:
6
+ - split: train
7
+ path:
8
+ - "basic/train-*.parquet"
9
+ - "basic/train.parquet"
10
+ - split: test
11
+ path:
12
+ - "basic/test-*.parquet"
13
+ - "basic/test.parquet"
14
+ default: true
15
+
16
+ pretty_name: "Gametime (Basic)"
17
+ tags:
18
+ - audio
19
+ - speech
20
+ - tts
21
+ - asr
22
+ - benchmark
23
+ task_categories:
24
+ - automatic-speech-recognition
25
+ - text-to-speech
26
+ language:
27
+ - en
28
+ license: cc-by-4.0
29
+ size_categories:
30
+ - n<100K
31
+ ---
32
+
33
+ # Gametime — Basic (Parquet)
34
+
35
+ **Gametime** is a lightweight speech benchmark for quick TTS ↔︎ ASR sanity checks on short, instruction-like utterances.
36
+
37
+ This repo uses **Parquet-only** data files (no `Audio` feature, no WAVs checked in). Each example contains:
38
+ - `id, category, dataset, split, template_idx, item_idx, text`
39
+ - `audio_bytes` (raw file bytes), `audio_format` (e.g., `"wav"`), `sampling_rate` (e.g., `16000`)
40
+
41
+ Why? This keeps streaming reliable and dependency-light.
42
+
43
+ ---
44
+
45
+ ## TL;DR — Stream and decode
46
+
47
+ ```python
48
+ from datasets import load_dataset
49
+ import io, soundfile as sf
50
+
51
+ ds = load_dataset("gametime-benchmark/gametime", "basic", split="train", streaming=True)
52
+
53
+ ex = next(iter(ds))
54
+ buf = io.BytesIO(ex["audio_bytes"]) # raw bytes from Parquet
55
+ wav, sr = sf.read(buf, dtype="float32") # decodes in-memory
56
+ print(ex["id"], sr, len(wav), ex["text"])
57
+ ````
58
+
59
+ * Works with **streaming=True** (no full download).
60
+ * No `torchcodec` required. You only need `soundfile` (libsndfile).
61
+
62
+ ---
63
+
64
+ ## Schema
65
+
66
+ Columns in each Parquet row:
67
+
68
+ * `id`: unique identifier (e.g., `1-a-Sequence-Number/train/1-a-Sequence-Number-01-01.wav`)
69
+ * `category`: `"basic"`
70
+ * `dataset`: group name (e.g., `1-a-Sequence-Number`)
71
+ * `split`: `train` or `test`
72
+ * `template_idx`, `item_idx`: indices if applicable (empty string otherwise)
73
+ * `text`: reference text to speak/recognize
74
+ * `audio_bytes`: raw WAV bytes
75
+ * `audio_format`: `"wav"`
76
+ * `sampling_rate`: e.g., `16000`
77
+
78
+ ---
79
+
80
+ ## Example: quick ASR sanity check (Whisper)
81
+
82
+ ```python
83
+ # pip install transformers datasets soundfile evaluate
84
+ import io, soundfile as sf, evaluate
85
+ from datasets import load_dataset
86
+ from transformers import pipeline
87
+
88
+ asr = pipeline("automatic-speech-recognition", model="openai/whisper-small")
89
+ wer = evaluate.load("wer")
90
+
91
+ ds = load_dataset("gametime-benchmark/gametime", "basic", split="test", streaming=True)
92
+
93
+ refs, hyps = [], []
94
+ for i, ex in enumerate(ds):
95
+ wav, sr = sf.read(io.BytesIO(ex["audio_bytes"]), dtype="float32")
96
+ hyp = asr({"array": wav, "sampling_rate": sr})["text"]
97
+ refs.append(ex["text"]); hyps.append(hyp)
98
+ if i >= 199: # quick 200-sample check
99
+ break
100
+
101
+ print("WER:", wer.compute(references=refs, predictions=hyps))
102
+ ```
103
+
104
+ ---
105
+
106
+ ## Notes
107
+
108
+ * **Advanced** category (with `<sil="Xms"/>` timing tokens) is planned separately.
109
+ * License: **CC BY 4.0** for text, metadata, and audio.
110
+
111
+ ---
112
+
113
+ ## Citation
114
+
115
+ ```
116
+ @dataset{gametime_basic_2025,
117
+ title = {Gametime: Basic Speech Benchmark},
118
+ year = {2025},
119
+ url = {https://huggingface.co/datasets/gametime-benchmark/gametime},
120
+ note = {Parquet-only split "basic" for TTS/ASR sanity checks}
121
+ }
122
+ ```
basic/test.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8e255c2fd8b2b33be1714b888849a985f75bd8e195a4efd8bb645d68bebdffe1
3
+ size 240085790
basic/train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:283c7ce2dc1833ecb0b82fe2c45f943ab9727a27ee23a325ebc52f80d7acb247
3
+ size 473425907