Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -93,8 +93,6 @@ Useful arguments to `datasets.Audio()` are:
|
|
| 93 |
- `sampling_rate` and `mono=True` to control the sampling rate and number of channels.
|
| 94 |
- `decode=False` to skip decoding the audio and just get the MP3 file paths and contents.
|
| 95 |
|
| 96 |
-
The `load_dataset` function also accepts a `columns` parameter, which can be useful for example if you want to skip downloading the audio (see the example below).
|
| 97 |
-
|
| 98 |
## Running the benchmark
|
| 99 |
|
| 100 |
The evaluation is implemented in our [`alt-eval` package](https://github.com/audioshake/alt-eval):
|
|
@@ -121,7 +119,7 @@ compute_metrics(dataset["text"], transcriptions, languages=dataset["language"])
|
|
| 121 |
```
|
| 122 |
Alternatively, if you already have transcriptions, you might prefer to skip loading the `audio` column:
|
| 123 |
```python
|
| 124 |
-
dataset = load_dataset("jamendolyrics/jam-alt", revision="v1.2.0", split="test"
|
| 125 |
```
|
| 126 |
|
| 127 |
## Citation
|
|
|
|
| 93 |
- `sampling_rate` and `mono=True` to control the sampling rate and number of channels.
|
| 94 |
- `decode=False` to skip decoding the audio and just get the MP3 file paths and contents.
|
| 95 |
|
|
|
|
|
|
|
| 96 |
## Running the benchmark
|
| 97 |
|
| 98 |
The evaluation is implemented in our [`alt-eval` package](https://github.com/audioshake/alt-eval):
|
|
|
|
| 119 |
```
|
| 120 |
Alternatively, if you already have transcriptions, you might prefer to skip loading the `audio` column:
|
| 121 |
```python
|
| 122 |
+
dataset = load_dataset("jamendolyrics/jam-alt", revision="v1.2.0", split="test").remove_columns("audio")
|
| 123 |
```
|
| 124 |
|
| 125 |
## Citation
|