cifkao commited on
Commit
db8d621
·
1 Parent(s): 5b65248

Version 1.1.0

Browse files
Files changed (2) hide show
  1. README.md +3 -3
  2. loader.py +1 -1
README.md CHANGED
@@ -175,14 +175,14 @@ The evaluation is implemented in our [`alt-eval` package](https://github.com/aud
175
  from datasets import load_dataset
176
  from alt_eval import compute_metrics
177
 
178
- dataset = load_dataset("audioshake/jam-alt", revision="v1.0.0", split="test")
179
  # transcriptions: list[str]
180
  compute_metrics(dataset["text"], transcriptions, languages=dataset["language"])
181
  ```
182
 
183
  For example, the following code can be used to evaluate Whisper:
184
  ```python
185
- dataset = load_dataset("audioshake/jam-alt", revision="v1.0.0", split="test")
186
  dataset = dataset.cast_column("audio", datasets.Audio(decode=False)) # Get the raw audio file, let Whisper decode it
187
 
188
  model = whisper.load_model("tiny")
@@ -194,7 +194,7 @@ compute_metrics(dataset["text"], transcriptions, languages=dataset["language"])
194
  ```
195
  Alternatively, if you already have transcriptions, you might prefer to skip loading the `audio` column:
196
  ```python
197
- dataset = load_dataset("audioshake/jam-alt", revision="v1.0.0", split="test", columns=["name", "text", "language", "license_type"])
198
  ```
199
 
200
  ## Citation
 
175
  from datasets import load_dataset
176
  from alt_eval import compute_metrics
177
 
178
+ dataset = load_dataset("audioshake/jam-alt", revision="v1.1.0", split="test")
179
  # transcriptions: list[str]
180
  compute_metrics(dataset["text"], transcriptions, languages=dataset["language"])
181
  ```
182
 
183
  For example, the following code can be used to evaluate Whisper:
184
  ```python
185
+ dataset = load_dataset("audioshake/jam-alt", revision="v1.1.0", split="test")
186
  dataset = dataset.cast_column("audio", datasets.Audio(decode=False)) # Get the raw audio file, let Whisper decode it
187
 
188
  model = whisper.load_model("tiny")
 
194
  ```
195
  Alternatively, if you already have transcriptions, you might prefer to skip loading the `audio` column:
196
  ```python
197
+ dataset = load_dataset("audioshake/jam-alt", revision="v1.1.0", split="test", columns=["name", "text", "language", "license_type"])
198
  ```
199
 
200
  ## Citation
loader.py CHANGED
@@ -11,7 +11,7 @@ from typing import Optional
11
  import datasets
12
 
13
 
14
- _VERSION = "1.0.0"
15
 
16
 
17
  _CITATION = """\
 
11
  import datasets
12
 
13
 
14
+ _VERSION = "1.1.0"
15
 
16
 
17
  _CITATION = """\