Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,101 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: cc0-1.0
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc0-1.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-retrieval
|
| 5 |
+
- summarization
|
| 6 |
+
language:
|
| 7 |
+
- en
|
| 8 |
+
tags:
|
| 9 |
+
- legal
|
| 10 |
+
- law
|
| 11 |
+
size_categories:
|
| 12 |
+
- n<1K
|
| 13 |
+
source_datasets:
|
| 14 |
+
- https://huggingface.co/datasets/FiscalNote/billsum
|
| 15 |
+
dataset_info:
|
| 16 |
+
- config_name: default
|
| 17 |
+
features:
|
| 18 |
+
- name: query-id
|
| 19 |
+
dtype: string
|
| 20 |
+
- name: corpus-id
|
| 21 |
+
dtype: string
|
| 22 |
+
- name: score
|
| 23 |
+
dtype: float64
|
| 24 |
+
splits:
|
| 25 |
+
- name: test
|
| 26 |
+
num_examples: 500
|
| 27 |
+
- config_name: corpus
|
| 28 |
+
features:
|
| 29 |
+
- name: _id
|
| 30 |
+
dtype: string
|
| 31 |
+
- name: title
|
| 32 |
+
dtype: string
|
| 33 |
+
- name: text
|
| 34 |
+
dtype: string
|
| 35 |
+
splits:
|
| 36 |
+
- name: corpus
|
| 37 |
+
num_examples: 500
|
| 38 |
+
- config_name: queries
|
| 39 |
+
features:
|
| 40 |
+
- name: _id
|
| 41 |
+
dtype: string
|
| 42 |
+
- name: text
|
| 43 |
+
dtype: string
|
| 44 |
+
splits:
|
| 45 |
+
- name: queries
|
| 46 |
+
num_examples: 500
|
| 47 |
+
configs:
|
| 48 |
+
- config_name: default
|
| 49 |
+
data_files:
|
| 50 |
+
- split: test
|
| 51 |
+
path: data/default.jsonl
|
| 52 |
+
- config_name: corpus
|
| 53 |
+
data_files:
|
| 54 |
+
- split: corpus
|
| 55 |
+
path: data/corpus.jsonl
|
| 56 |
+
- config_name: queries
|
| 57 |
+
data_files:
|
| 58 |
+
- split: queries
|
| 59 |
+
path: data/queries.jsonl
|
| 60 |
+
pretty_name: BillSum MTEB Benchmark
|
| 61 |
+
---
|
| 62 |
+
# BillSum MTEB Benchmark 🏋
|
| 63 |
+
This is the [BillSum](https://huggingface.co/datasets/FiscalNote/billsum) dataset formatted in the [Massive Text Embedding Benchmark (MTEB)](https://github.com/embeddings-benchmark/mteb) information retrieval dataset format.
|
| 64 |
+
|
| 65 |
+
This dataset is intended to facilitate the consistent and reproducible evaluation of summarization and information retrieval models on BillSum with the [`mteb`](https://github.com/embeddings-benchmark/mteb) embedding model evaluation framework.
|
| 66 |
+
|
| 67 |
+
More specifically, this dataset tests the ability of information retrieval models to identify legislation given a prompts formatted as a summary.
|
| 68 |
+
|
| 69 |
+
This dataset has been processed into the MTEB format by [Isaacus](https://isaacus.com/), a legal AI research company.
|
| 70 |
+
|
| 71 |
+
## Methodology 🧪
|
| 72 |
+
To understand how BillSum was created, refer to its [documentation](https://github.com/FiscalNote/BillSum).
|
| 73 |
+
|
| 74 |
+
This dataset was formatted by assigning the summaries as queries (or anchors), and treating the `text` column as relevant (or positive) passages.
|
| 75 |
+
|
| 76 |
+
## Structure 🗂️
|
| 77 |
+
As per the MTEB information retrieval dataset format, this dataset comprises three splits, `default`, `corpus` and `queries`.
|
| 78 |
+
|
| 79 |
+
The `default` split pairs summary (`query-id`) with the raw text of the bills (`corpus-id`), each pair having a `score` of 1.
|
| 80 |
+
|
| 81 |
+
The `corpus` split contains extracts from congressional bills, with the `text` key containg the raw text and its id being stored in the `_id` key.
|
| 82 |
+
|
| 83 |
+
The `queries` split contains the summaries, with the text of a query being stored in the `text` key and its id being stored in the `_id` key.
|
| 84 |
+
|
| 85 |
+
## License 📜
|
| 86 |
+
To the extent that any intellectual property rights reside in the contributions made by Isaacus in formatting and processing this dataset, Isaacus licenses those contributions under the same license terms as the source dataset. You are free to use this dataset without citing Isaacus.
|
| 87 |
+
|
| 88 |
+
The source dataset is licensed under [CC0](https://creativecommons.org/public-domain/cc0/).
|
| 89 |
+
|
| 90 |
+
## Citation 🔖
|
| 91 |
+
```bibtex
|
| 92 |
+
@inproceedings{Eidelman_2019,
|
| 93 |
+
title={BillSum: A Corpus for Automatic Summarization of US Legislation},
|
| 94 |
+
url={http://dx.doi.org/10.18653/v1/D19-5406},
|
| 95 |
+
DOI={10.18653/v1/d19-5406},
|
| 96 |
+
booktitle={Proceedings of the 2nd Workshop on New Frontiers in Summarization},
|
| 97 |
+
publisher={Association for Computational Linguistics},
|
| 98 |
+
author={Eidelman, Vladimir},
|
| 99 |
+
year={2019},
|
| 100 |
+
pages={48–56} }
|
| 101 |
+
```
|