<br />

- **Description**:

LibriSpeech is a corpus of approximately 1000 hours of read English speech with
sampling rate of 16 kHz, prepared by Vassil Panayotov with the assistance of
Daniel Povey. The data is derived from read audiobooks from the LibriVox
project, and has been carefully segmented and aligned.

It's recommended to use lazy audio decoding for faster reading and smaller
dataset size: - install `tensorflow_io` library: `pip install tensorflow-io` -
enable lazy decoding:
`tfds.load('librispeech', builder_kwargs={'config': 'lazy_decode'})`

- **Additional Documentation** :
  [Explore on Papers With Code](https://paperswithcode.com/dataset/librispeech)

- **Homepage** : <http://www.openslr.org/12>

- **Source code** :
  [`tfds.datasets.librispeech.Builder`](https://github.com/tensorflow/datasets/tree/master/tensorflow_datasets/datasets/librispeech/librispeech_dataset_builder.py)

- **Download size** : `57.14 GiB`

- **Auto-cached**
  ([documentation](https://www.tensorflow.org/datasets/performances#auto-caching)):
  No

- **Splits**:

| Split | Examples |
|---|---|
| `'dev_clean'` | 2,703 |
| `'dev_other'` | 2,864 |
| `'test_clean'` | 2,620 |
| `'test_other'` | 2,939 |
| `'train_clean100'` | 28,539 |
| `'train_clean360'` | 104,014 |
| `'train_other500'` | 148,688 |

- **Feature structure**:

    FeaturesDict({
        'chapter_id': int64,
        'id': string,
        'speaker_id': int64,
        'speech': Audio(shape=(None,), dtype=int16),
        'text': Text(shape=(), dtype=string),
    })

- **Feature documentation**:

| Feature | Class | Shape | Dtype | Description |
|---|---|---|---|---|
|   | FeaturesDict |   |   |   |
| chapter_id | Tensor |   | int64 |   |
| id | Tensor |   | string |   |
| speaker_id | Tensor |   | int64 |   |
| speech | Audio | (None,) | int16 |   |
| text | Text |   | string |   |

- **Supervised keys** (See
  [`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):
  `('speech', 'text')`

- **Figure**
  ([tfds.show_examples](https://www.tensorflow.org/datasets/api_docs/python/tfds/visualization/show_examples)):
  Not supported.

- **Citation**:

    @inproceedings{panayotov2015librispeech,
      title={Librispeech: an ASR corpus based on public domain audio books},
      author={Panayotov, Vassil and Chen, Guoguo and Povey, Daniel and Khudanpur, Sanjeev},
      booktitle={Acoustics, Speech and Signal Processing (ICASSP), 2015 IEEE International Conference on},
      pages={5206--5210},
      year={2015},
      organization={IEEE}
    }

## librispeech/default (default config)

- **Config description**: Default dataset.

- **Versions**:

  - **`2.1.1`** (default): Fix speech data type with dtype=tf.int16.
  - `2.1.2`: Add 'lazy_decode' config.
- **Dataset size** : `304.47 GiB`

- **Examples**
  ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):

<iframe src="https:///frame/datasets/catalog/librispeech_4c6e6984a7d87b8e9c45ce17fd26603918ed646d31f77e420c4e49e315136681.frame" class="framebox inherit-locale " allow="clipboard-write https://" allowfullscreen is-upgraded></iframe>

## librispeech/lazy_decode

- **Config description**: Raw audio dataset.

- **Versions**:

  - `2.1.1`: Fix speech data type with dtype=tf.int16.
  - **`2.1.2`** (default): Add 'lazy_decode' config.
- **Dataset size** : `59.37 GiB`

- **Examples**
  ([tfds.as_dataframe](https://www.tensorflow.org/datasets/api_docs/python/tfds/as_dataframe)):

<iframe src="https:///frame/datasets/catalog/librispeech_0e1291d09f82484ebce69e04ca2c3e795a58a37a54a0eccff6e5f65bd8b17706.frame" class="framebox inherit-locale " allow="clipboard-write https://" allowfullscreen is-upgraded></iframe>