Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -190,149 +190,23 @@ configs:
|
|
190 |
- **Leaderboard:** [The 🤗 Speech Bench](https://huggingface.co/spaces/huggingface/hf-speech-bench)
|
191 |
- **Point of Contact:** [Daniel Povey](mailto:[email protected])
|
192 |
|
193 |
-
|
194 |
|
195 |
-
|
196 |
|
197 |
-
|
198 |
|
199 |
-
|
|
|
200 |
|
201 |
-
|
|
|
202 |
|
203 |
-
|
204 |
-
|
205 |
-
a different dataset, and were divided roughly in the middle,
|
206 |
-
with the lower-WER speakers designated as "clean" and the higher WER speakers designated as "other".
|
207 |
|
208 |
-
|
|
|
|
|
|
|
209 |
|
210 |
-
### Data Instances
|
211 |
-
|
212 |
-
A typical data point comprises the path to the audio file, usually called `file` and its transcription, called `text`. Some additional information about the speaker and the passage which contains the transcription is provided.
|
213 |
-
|
214 |
-
```
|
215 |
-
{'chapter_id': 141231,
|
216 |
-
'file': '/home/patrick/.cache/huggingface/datasets/downloads/extracted/b7ded9969e09942ab65313e691e6fc2e12066192ee8527e21d634aca128afbe2/dev_clean/1272/141231/1272-141231-0000.flac',
|
217 |
-
'audio': {'path': '/home/patrick/.cache/huggingface/datasets/downloads/extracted/b7ded9969e09942ab65313e691e6fc2e12066192ee8527e21d634aca128afbe2/dev_clean/1272/141231/1272-141231-0000.flac',
|
218 |
-
'array': array([-0.00048828, -0.00018311, -0.00137329, ..., 0.00079346,
|
219 |
-
0.00091553, 0.00085449], dtype=float32),
|
220 |
-
'sampling_rate': 16000},
|
221 |
-
'id': '1272-141231-0000',
|
222 |
-
'speaker_id': 1272,
|
223 |
-
'text': 'A MAN SAID TO THE UNIVERSE SIR I EXIST'}
|
224 |
-
```
|
225 |
-
|
226 |
-
|
227 |
-
### Data Fields
|
228 |
-
|
229 |
-
- file: A path to the downloaded audio file in .flac format.
|
230 |
-
|
231 |
-
- audio: A dictionary containing the path to the downloaded audio file, the decoded audio array, and the sampling rate. Note that when accessing the audio column: `dataset[0]["audio"]` the audio file is automatically decoded and resampled to `dataset.features["audio"].sampling_rate`. Decoding and resampling of a large number of audio files might take a significant amount of time. Thus it is important to first query the sample index before the `"audio"` column, *i.e.* `dataset[0]["audio"]` should **always** be preferred over `dataset["audio"][0]`.
|
232 |
-
|
233 |
-
- text: the transcription of the audio file.
|
234 |
-
|
235 |
-
- id: unique id of the data sample.
|
236 |
-
|
237 |
-
- speaker_id: unique id of the speaker. The same speaker id can be found for multiple data samples.
|
238 |
-
|
239 |
-
- chapter_id: id of the audiobook chapter which includes the transcription.
|
240 |
-
|
241 |
-
### Data Splits
|
242 |
-
|
243 |
-
The size of the corpus makes it impractical, or at least inconvenient
|
244 |
-
for some users, to distribute it as a single large archive. Thus the
|
245 |
-
training portion of the corpus is split into three subsets, with approximate size 100, 360 and 500 hours respectively.
|
246 |
-
A simple automatic
|
247 |
-
procedure was used to select the audio in the first two sets to be, on
|
248 |
-
average, of higher recording quality and with accents closer to US
|
249 |
-
English. An acoustic model was trained on WSJ’s si-84 data subset
|
250 |
-
and was used to recognize the audio in the corpus, using a bigram
|
251 |
-
LM estimated on the text of the respective books. We computed the
|
252 |
-
Word Error Rate (WER) of this automatic transcript relative to our
|
253 |
-
reference transcripts obtained from the book texts.
|
254 |
-
The speakers in the corpus were ranked according to the WER of
|
255 |
-
the WSJ model’s transcripts, and were divided roughly in the middle,
|
256 |
-
with the lower-WER speakers designated as "clean" and the higher-WER speakers designated as "other".
|
257 |
-
|
258 |
-
For "clean", the data is split into train, validation, and test set. The train set is further split into train.100 and train.360
|
259 |
-
respectively accounting for 100h and 360h of the training data.
|
260 |
-
For "other", the data is split into train, validation, and test set. The train set contains approximately 500h of recorded speech.
|
261 |
-
|
262 |
-
| | Train.500 | Train.360 | Train.100 | Valid | Test |
|
263 |
-
| ----- | ------ | ----- | ---- | ---- | ---- |
|
264 |
-
| clean | - | 104014 | 28539 | 2703 | 2620|
|
265 |
-
| other | 148688 | - | - | 2864 | 2939 |
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
## Dataset Creation
|
270 |
-
|
271 |
-
### Curation Rationale
|
272 |
-
|
273 |
-
[Needs More Information]
|
274 |
-
|
275 |
-
### Source Data
|
276 |
-
|
277 |
-
#### Initial Data Collection and Normalization
|
278 |
-
|
279 |
-
[Needs More Information]
|
280 |
-
|
281 |
-
#### Who are the source language producers?
|
282 |
-
|
283 |
-
[Needs More Information]
|
284 |
-
|
285 |
-
### Annotations
|
286 |
-
|
287 |
-
#### Annotation process
|
288 |
-
|
289 |
-
[Needs More Information]
|
290 |
-
|
291 |
-
#### Who are the annotators?
|
292 |
-
|
293 |
-
[Needs More Information]
|
294 |
-
|
295 |
-
### Personal and Sensitive Information
|
296 |
-
|
297 |
-
The dataset consists of people who have donated their voice online. You agree to not attempt to determine the identity of speakers in this dataset.
|
298 |
-
|
299 |
-
## Considerations for Using the Data
|
300 |
-
|
301 |
-
### Social Impact of Dataset
|
302 |
-
|
303 |
-
[More Information Needed]
|
304 |
-
|
305 |
-
### Discussion of Biases
|
306 |
-
|
307 |
-
[More Information Needed]
|
308 |
-
|
309 |
-
### Other Known Limitations
|
310 |
-
|
311 |
-
[Needs More Information]
|
312 |
-
|
313 |
-
## Additional Information
|
314 |
-
|
315 |
-
### Dataset Curators
|
316 |
-
|
317 |
-
The dataset was initially created by Vassil Panayotov, Guoguo Chen, Daniel Povey, and Sanjeev Khudanpur.
|
318 |
-
|
319 |
-
### Licensing Information
|
320 |
-
|
321 |
-
[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
|
322 |
-
|
323 |
-
### Citation Information
|
324 |
-
|
325 |
-
```
|
326 |
-
@inproceedings{panayotov2015librispeech,
|
327 |
-
title={Librispeech: an ASR corpus based on public domain audio books},
|
328 |
-
author={Panayotov, Vassil and Chen, Guoguo and Povey, Daniel and Khudanpur, Sanjeev},
|
329 |
-
booktitle={Acoustics, Speech and Signal Processing (ICASSP), 2015 IEEE International Conference on},
|
330 |
-
pages={5206--5210},
|
331 |
-
year={2015},
|
332 |
-
organization={IEEE}
|
333 |
-
}
|
334 |
-
```
|
335 |
-
|
336 |
-
### Contributions
|
337 |
-
|
338 |
-
Thanks to [@patrickvonplaten](https://github.com/patrickvonplaten) for adding this dataset.
|
|
|
190 |
- **Leaderboard:** [The 🤗 Speech Bench](https://huggingface.co/spaces/huggingface/hf-speech-bench)
|
191 |
- **Point of Contact:** [Daniel Povey](mailto:[email protected])
|
192 |
|
193 |
+
# LibriSpeech ASR 2s Splits Dataset
|
194 |
|
195 |
+
Version of LibriSpeech ASR corpus split into 2s clips.
|
196 |
|
197 |
+
## Usage
|
198 |
|
199 |
+
```python
|
200 |
+
from datasets import load_dataset
|
201 |
|
202 |
+
# Load the dataset from the Hub
|
203 |
+
dataset = load_dataset("pavanyellow/librispeech_asr")
|
204 |
|
205 |
+
# Or load a specific split
|
206 |
+
dataset = load_dataset("pavanyellow/librispeech_asr", split="train")
|
|
|
|
|
207 |
|
208 |
+
# Access the data
|
209 |
+
for example in dataset['train'][:5]:
|
210 |
+
audio = example['audio']
|
211 |
+
text = example['text']
|
212 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|