guapaQAQ commited on
Commit
18aa2df
Β·
1 Parent(s): 4240234

Update full dataset

Browse files
README.md CHANGED
@@ -44,34 +44,7 @@ For full details, please refer to the paper:
44
 
45
  ## πŸ“¦ Download Options
46
 
47
- ### 1️⃣ Recommended β€” Stream from Hugging Face
48
-
49
- ```python
50
- from datasets import load_dataset
51
- import io
52
- import soundfile as sf
53
-
54
- # Load Basic train split
55
- ds_basic = load_dataset("gametime-benchmark/gametime", "basic", split="test", streaming=True)
56
- ex = next(iter(ds_basic))
57
- buf = io.BytesIO(ex["audio_bytes"])
58
- wav, sr = sf.read(buf, dtype="float32")
59
- print(ex["id"], sr, len(wav), ex["text"])
60
-
61
- # Load Advanced test split
62
- ds_adv = load_dataset("gametime-benchmark/gametime", "advanced", split="test", streaming=True)
63
- ex_adv = next(iter(ds_adv))
64
- buf_adv = io.BytesIO(ex_adv["audio_bytes"])
65
- wav_adv, sr_adv = sf.read(buf_adv, dtype="float32")
66
- print(ex_adv["id"], sr_adv, len(wav_adv), ex_adv["text"])
67
- ````
68
-
69
- * Works with **`streaming=True`** β€” no full download needed
70
- * Requires only `soundfile` (libsndfile)
71
-
72
- ---
73
-
74
- ### 2️⃣ Optional β€” Full ZIP Download
75
 
76
  If you prefer the original folder layout you can download one of the ZIPs packaged in `gametime/download/`. There are two kinds available in this repository:
77
 
@@ -135,6 +108,33 @@ unzip gametime/download/basic_instructions.zip
135
 
136
  ---
137
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
138
  ## πŸ“‘ Schema
139
 
140
  Each Parquet row has:
@@ -155,45 +155,6 @@ Each Parquet row has:
155
 
156
  ---
157
 
158
- ## πŸ” Example β€” Whisper ASR Sanity Check
159
-
160
- ```python
161
- # pip install transformers datasets soundfile evaluate jiwer torchaudio
162
- import io
163
- import soundfile as sf
164
- import evaluate
165
- from datasets import load_dataset
166
- from transformers import pipeline
167
-
168
- asr = pipeline("automatic-speech-recognition", model="openai/whisper-small")
169
- wer = evaluate.load("wer")
170
-
171
- # Evaluate Advanced split (test only)
172
- ds = load_dataset("gametime-benchmark/gametime", "advanced", split="test", streaming=True)
173
-
174
- refs, hyps = [], []
175
- for i, ex in enumerate(ds):
176
- wav, sr = sf.read(io.BytesIO(ex["audio_bytes"]), dtype="float32")
177
- hyp = asr({"array": wav, "sampling_rate": sr})["text"]
178
- refs.append(ex["text"]); hyps.append(hyp)
179
- print(f"Sample {i+1}: {ex['text']} -> {hyp}")
180
- if i >= 199:
181
- break
182
-
183
- print("WER:", wer.compute(references=refs, predictions=hyps))
184
- ```
185
-
186
- ---
187
-
188
- ## πŸ“ Notes
189
-
190
- * **Basic**: clean split with plain text transcripts.
191
- * **Advanced**: adds inline timing tokens such as `<sil="Xms"/>`, enabling alignment-aware training and evaluation.
192
- * License: **CC BY 4.0** for text, metadata, and audio.
193
- * ZIP download is optional; Parquet streaming is the default recommended method.
194
-
195
- ---
196
-
197
  ## πŸ“š Citation
198
 
199
  If you use this dataset, please cite:
 
44
 
45
  ## πŸ“¦ Download Options
46
 
47
+ ### 1️⃣ Recommended β€” Full ZIP Download
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
 
49
  If you prefer the original folder layout you can download one of the ZIPs packaged in `gametime/download/`. There are two kinds available in this repository:
50
 
 
108
 
109
  ---
110
 
111
+ ### 2️⃣ Optional β€” Stream from Hugging Face
112
+
113
+ ```python
114
+ from datasets import load_dataset
115
+ import io
116
+ import soundfile as sf
117
+
118
+ # Load Basic train split
119
+ ds_basic = load_dataset("gametime-benchmark/gametime", "basic", split="test", streaming=True)
120
+ ex = next(iter(ds_basic))
121
+ buf = io.BytesIO(ex["audio_bytes"])
122
+ wav, sr = sf.read(buf, dtype="float32")
123
+ print(ex["id"], sr, len(wav), ex["text"])
124
+
125
+ # Load Advanced test split
126
+ ds_adv = load_dataset("gametime-benchmark/gametime", "advanced", split="test", streaming=True)
127
+ ex_adv = next(iter(ds_adv))
128
+ buf_adv = io.BytesIO(ex_adv["audio_bytes"])
129
+ wav_adv, sr_adv = sf.read(buf_adv, dtype="float32")
130
+ print(ex_adv["id"], sr_adv, len(wav_adv), ex_adv["text"])
131
+ ````
132
+
133
+ * Works with **`streaming=True`** β€” no full download needed
134
+ * Requires only `soundfile` (libsndfile)
135
+
136
+ ---
137
+
138
  ## πŸ“‘ Schema
139
 
140
  Each Parquet row has:
 
155
 
156
  ---
157
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
158
  ## πŸ“š Citation
159
 
160
  If you use this dataset, please cite:
advanced/test.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:742c699167d2d09cd0fc16db8bcb33fd72d60c61ee532e570e654ca6a46714fd
3
- size 415451088
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ccb84b812deb9d932e1a05174479ef7733ad3c89990735dd9ca489d274966088
3
+ size 403895540
basic/test.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c70c81a8ae248031c4bcada7cddf4902e95d94802e75ecc07565835b714fe644
3
- size 240127946
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c7a7536f0c874cb8fa802a9fdd591efef76a9188e17f594c403d33e4077aeb6c
3
+ size 240127771
download/advanced_instructions.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6c2ca51fe3c3719ebf4f7769ef5aae8f5d556bc262cfd4e50d044b8a789efe94
3
- size 399034802
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30b50bbcbf0fb66fb284cb347555d8937ab6516d666ae6060588d8d55b5dbbe9
3
+ size 399012962
download/basic_instructions.zip CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:80b48c500e4f9581ca38352adf52deafea735021e46b8f2c522d9320ec273915
3
  size 238704865
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:478fbeff3f0ecfd927f6f228fc65132f652879005932e6f677aac93dc661adeb
3
  size 238704865