File size: 1,017 Bytes
272191c a23dd78 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
---
license: apache-2.0
---
# LoCoV1 Queries
The queries for the LoCoV1 dataset from the paper, "Benchmarking and Building Long-Context Retrieval Models with LoCo and M2-BERT"
## How to Use
To load the dataset, use the following command:
```
from datasets import load_dataset
dataset = load_dataset("hazyresearch/LoCoV1-Queries")
```
To load a specific subset, such as SummScreenFD, use the following command:
```
from datasets import load_dataset
dataset = load_dataset("hazyresearch/LoCoV1-Queries")
def filter_condition(example):
return example['dataset'] == 'summ_screen_fd'
filtered_dataset = dataset.filter(filter_condition)
```
The datasets available are:
```
{'summ_screen_fd', 'gov_report', 'qmsum', 'qasper_title', 'qasper_abstract', '2wikimqa', 'multifieldqa',
'passage_retrieval', 'courtlistener_HTML', 'courtlistener_Plain_Text', 'legal_case_reports', 'stackoverflow'}
```
For documents, go to [hazyresearch/LoCoV1-Documents](https://huggingface.co/datasets/hazyresearch/LoCoV1-Documents).
|