cifkao commited on
Commit
6b27fbe
·
1 Parent(s): 9ee85bc

Bump version to 1.3.0

Browse files
Files changed (2) hide show
  1. README.md +4 -4
  2. loader.py +1 -1
README.md CHANGED
@@ -104,14 +104,14 @@ The evaluation is implemented in our [`alt-eval` package](https://github.com/aud
104
  from datasets import load_dataset
105
  from alt_eval import compute_metrics
106
 
107
- dataset = load_dataset("jamendolyrics/jam-alt", revision="v1.2.0", split="test")
108
  # transcriptions: list[str]
109
  compute_metrics(dataset["text"], transcriptions, languages=dataset["language"])
110
  ```
111
 
112
  For example, the following code can be used to evaluate Whisper:
113
  ```python
114
- dataset = load_dataset("jamendolyrics/jam-alt", revision="v1.2.0", split="test")
115
  dataset = dataset.cast_column("audio", datasets.Audio(decode=False)) # Get the raw audio file, let Whisper decode it
116
 
117
  model = whisper.load_model("tiny")
@@ -123,7 +123,7 @@ compute_metrics(dataset["text"], transcriptions, languages=dataset["language"])
123
  ```
124
  Alternatively, if you already have transcriptions, you might prefer to skip loading the `audio` column:
125
  ```python
126
- dataset = load_dataset("jamendolyrics/jam-alt", revision="v1.2.0", split="test").remove_columns("audio")
127
  ```
128
 
129
  ## Citation
@@ -169,4 +169,4 @@ For the line-level timings, please cite the ICME workshop paper.
169
 
170
  ## Contributions
171
 
172
- The transcripts, originally from the [JamendoLyrics](https://huggingface.co/datasets/jamendolyrics/jamendolyrics) dataset, were revised by Ondřej Cífka, Hendrik Schreiber, Fabian-Robert Stöter, Luke Miner, Laura Ibáñez, Pamela Ode, Mathieu Fontaine, Claudia Faller, April Anderson, Constantinos Dimitriou, and Kateřina Apolínová.
 
104
  from datasets import load_dataset
105
  from alt_eval import compute_metrics
106
 
107
+ dataset = load_dataset("jamendolyrics/jam-alt", revision="v1.3.0", split="test")
108
  # transcriptions: list[str]
109
  compute_metrics(dataset["text"], transcriptions, languages=dataset["language"])
110
  ```
111
 
112
  For example, the following code can be used to evaluate Whisper:
113
  ```python
114
+ dataset = load_dataset("jamendolyrics/jam-alt", revision="v1.3.0", split="test")
115
  dataset = dataset.cast_column("audio", datasets.Audio(decode=False)) # Get the raw audio file, let Whisper decode it
116
 
117
  model = whisper.load_model("tiny")
 
123
  ```
124
  Alternatively, if you already have transcriptions, you might prefer to skip loading the `audio` column:
125
  ```python
126
+ dataset = load_dataset("jamendolyrics/jam-alt", revision="v1.3.0", split="test").remove_columns("audio")
127
  ```
128
 
129
  ## Citation
 
169
 
170
  ## Contributions
171
 
172
+ The transcripts, originally from the [JamendoLyrics](https://huggingface.co/datasets/jamendolyrics/jamendolyrics) dataset, were revised by Ondřej Cífka, Hendrik Schreiber, Fabian-Robert Stöter, Luke Miner, Laura Ibáñez, Pamela Ode, Mathieu Fontaine, Claudia Faller, April Anderson, Constantinos Dimitriou, and Kateřina Apolínová.
loader.py CHANGED
@@ -8,7 +8,7 @@ from typing import Optional
8
 
9
  import datasets
10
 
11
- _VERSION = "1.2.0"
12
 
13
 
14
  _CITATION = """\
 
8
 
9
  import datasets
10
 
11
+ _VERSION = "1.3.0"
12
 
13
 
14
  _CITATION = """\