# billsum

<br />

- **Description**:

BillSum, summarization of US Congressional and California state bills.

There are several features: - text: bill text. - summary: summary of the
bills. - title: title of the bills. features for us bills. ca bills does not
have. - text_len: number of chars in text. - sum_len: number of chars in
summary.

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

- **Homepage** :
  <https://github.com/FiscalNote/BillSum>

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

- **Versions**:

  - **`3.0.0`** (default): No release notes.
- **Download size** : `64.14 MiB`

- **Dataset size** : `260.84 MiB`

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

- **Splits**:

| Split | Examples |
|---|---|
| `'ca_test'` | 1,237 |
| `'test'` | 3,269 |
| `'train'` | 18,949 |

- **Feature structure**:

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

- **Feature documentation**:

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

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

- **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**:

    @misc{kornilova2019billsum,
        title={BillSum: A Corpus for Automatic Summarization of US Legislation},
        author={Anastassia Kornilova and Vlad Eidelman},
        year={2019},
        eprint={1910.00523},
        archivePrefix={arXiv},
        primaryClass={cs.CL}
    }