# lm1b

<br />

- **Description**:

A benchmark corpus to be used for measuring progress in statistical language
modeling. This has almost one billion words in the training data.

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

- **Homepage** :
  <http://www.statmt.org/lm-benchmark/>

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

- **Versions**:

  - **`1.1.0`** (default): No release notes.
- **Download size** : `1.67 GiB`

- **Dataset size** : `4.40 GiB`

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

- **Splits**:

| Split | Examples |
|---|---|
| `'test'` | 306,688 |
| `'train'` | 30,301,028 |

- **Feature structure**:

    FeaturesDict({
        'text': Text(shape=(), dtype=string),
    })

- **Feature documentation**:

| Feature | Class | Shape | Dtype | Description |
|---|---|---|---|---|
|   | FeaturesDict |   |   |   |
| text | Text |   | string |   |

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

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

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

<button id="displaydataframe">Display examples...</button>

- **Citation**:

    @article{DBLP:journals/corr/ChelbaMSGBK13,
      author    = {Ciprian Chelba and
                   Tomas Mikolov and
                   Mike Schuster and
                   Qi Ge and
                   Thorsten Brants and
                   Phillipp Koehn},
      title     = {One Billion Word Benchmark for Measuring Progress in Statistical Language
                   Modeling},
      journal   = {CoRR},
      volume    = {abs/1312.3005},
      year      = {2013},
      url       = {http://arxiv.org/abs/1312.3005},
      archivePrefix = {arXiv},
      eprint    = {1312.3005},
      timestamp = {Mon, 13 Aug 2018 16:46:16 +0200},
      biburl    = {https://dblp.org/rec/bib/journals/corr/ChelbaMSGBK13},
      bibsource = {dblp computer science bibliography, https://dblp.org}
    }