---
pretty_name: '`beir/hotpotqa/train`'
viewer: false
source_datasets: ['irds/beir_hotpotqa']
task_categories:
- text-retrieval
---
# Dataset Card for `beir/hotpotqa/train`
The `beir/hotpotqa/train` dataset, provided by the [ir-datasets](https://ir-datasets.com/) package.
For more information about the dataset, see the [documentation](https://ir-datasets.com/beir#beir/hotpotqa/train).
# Data
This dataset provides:
- `queries` (i.e., topics); count=85,000
- `qrels`: (relevance assessments); count=170,000
- For `docs`, use [`irds/beir_hotpotqa`](https://huggingface.co/datasets/irds/beir_hotpotqa)
## Usage
```python
from datasets import load_dataset
queries = load_dataset('irds/beir_hotpotqa_train', 'queries')
for record in queries:
record # {'query_id': ..., 'text': ...}
qrels = load_dataset('irds/beir_hotpotqa_train', 'qrels')
for record in qrels:
record # {'query_id': ..., 'doc_id': ..., 'relevance': ..., 'iteration': ...}
```
Note that calling `load_dataset` will download the dataset (or provide access instructions when it's not public) and make a copy of the
data in 🤗 Dataset format.
## Citation Information
```
@inproceedings{Yang2018Hotpotqa,
title = "{H}otpot{QA}: A Dataset for Diverse, Explainable Multi-hop Question Answering",
author = "Yang, Zhilin and
Qi, Peng and
Zhang, Saizheng and
Bengio, Yoshua and
Cohen, William and
Salakhutdinov, Ruslan and
Manning, Christopher D.",
booktitle = "Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing",
month = oct # "-" # nov,
year = "2018",
address = "Brussels, Belgium",
publisher = "Association for Computational Linguistics",
url = "https://www.aclweb.org/anthology/D18-1259",
doi = "10.18653/v1/D18-1259",
pages = "2369--2380"
}
@article{Thakur2021Beir,
title = "BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Models",
author = "Thakur, Nandan and Reimers, Nils and Rücklé, Andreas and Srivastava, Abhishek and Gurevych, Iryna",
journal= "arXiv preprint arXiv:2104.08663",
month = "4",
year = "2021",
url = "https://arxiv.org/abs/2104.08663",
}
```
数据集简称:`beir/hotpotqa/train`
可视化查看器:否
源数据集:['irds/beir_hotpotqa']
任务类别:
- 文本检索
# `beir/hotpotqa/train` 数据集卡片
本数据集`beir/hotpotqa/train`由[ir-datasets](https://ir-datasets.com/)工具包提供。如需了解该数据集的更多详情,请参阅[官方文档](https://ir-datasets.com/beir#beir/hotpotqa/train)。
## 数据集内容
本数据集包含以下内容:
- `查询集(queries)`:共计85000条
- `相关性标注集(qrels,即相关性评估数据)`:共计170000条
- 如需获取文档集(docs),请使用 [`irds/beir_hotpotqa`](https://huggingface.co/datasets/irds/beir_hotpotqa) 数据集。
## 使用方法
python
from datasets import load_dataset
queries = load_dataset('irds/beir_hotpotqa_train', 'queries')
for record in queries:
record # {'query_id': ..., 'text': ...}
qrels = load_dataset('irds/beir_hotpotqa_train', 'qrels')
for record in qrels:
record # {'query_id': ..., 'doc_id': ..., 'relevance': ..., 'iteration': ...}
请注意,调用`load_dataset`函数将自动下载该数据集(若数据集未公开,则会提供获取指引),并将其转换为🤗 Hugging Face数据集格式后加载。
## 引用信息
@inproceedings{Yang2018Hotpotqa,
title = "{H}otpot{QA}: A Dataset for Diverse, Explainable Multi-hop Question Answering",
author = "Yang, Zhilin and
Qi, Peng and
Zhang, Saizheng and
Bengio, Yoshua and
Cohen, William and
Salakhutdinov, Ruslan and
Manning, Christopher D.",
booktitle = "Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing",
month = oct # "-" # nov,
year = "2018",
address = "Brussels, Belgium",
publisher = "Association for Computational Linguistics",
url = "https://www.aclweb.org/anthology/D18-1259",
doi = "10.18653/v1/D18-1259",
pages = "2369--2380"
}
@article{Thakur2021Beir,
title = "BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Models",
author = "Thakur, Nandan and Reimers, Nils and Rücklé, Andreas and Srivastava, Abhishek and Gurevych, Iryna",
journal= "arXiv preprint arXiv:2104.08663",
month = "4",
year = "2021",
url = "https://arxiv.org/abs/2104.08663",
}