|
|
--- |
|
|
license: apache-2.0 |
|
|
task_categories: |
|
|
- information-retrieval |
|
|
- text-retrieval |
|
|
tags: |
|
|
- beir |
|
|
- fiqa |
|
|
- information-retrieval |
|
|
- retrieval |
|
|
- search |
|
|
dataset_info: |
|
|
- config_name: corpus |
|
|
features: |
|
|
- name: metadata |
|
|
dtype: 'null' |
|
|
- name: _id |
|
|
dtype: string |
|
|
- name: title |
|
|
dtype: string |
|
|
- name: text |
|
|
dtype: string |
|
|
splits: |
|
|
- name: train |
|
|
num_bytes: 45303212 |
|
|
num_examples: 57638 |
|
|
download_size: 27713888 |
|
|
dataset_size: 45303212 |
|
|
- config_name: queries |
|
|
features: |
|
|
- name: metadata |
|
|
dtype: 'null' |
|
|
- name: _id |
|
|
dtype: string |
|
|
- name: text |
|
|
dtype: string |
|
|
splits: |
|
|
- name: train |
|
|
num_bytes: 491278 |
|
|
num_examples: 6648 |
|
|
download_size: 321154 |
|
|
dataset_size: 491278 |
|
|
configs: |
|
|
- config_name: corpus |
|
|
data_files: |
|
|
- split: train |
|
|
path: corpus/train-* |
|
|
- config_name: queries |
|
|
data_files: |
|
|
- split: train |
|
|
path: queries/train-* |
|
|
--- |
|
|
|
|
|
# BEIR FIQA Dataset (Migrated) |
|
|
|
|
|
This is a migrated version of BeIR/fiqa that is compatible with datasets library 4.0.0+. |
|
|
|
|
|
## Dataset Description |
|
|
|
|
|
This dataset contains the fiqa dataset from the BEIR benchmark, converted from the old script-based format to Parquet format. |
|
|
|
|
|
## Dataset Structure |
|
|
|
|
|
### Queries |
|
|
|
|
|
- **Split 'queries'**: 6,648 examples |
|
|
- Features: ['_id', 'text', 'metadata'] |
|
|
|
|
|
- **Total examples**: 6,648 |
|
|
|
|
|
|
|
|
### Corpus |
|
|
|
|
|
- **Split 'corpus'**: 57,638 examples |
|
|
- Features: ['_id', 'title', 'text', 'metadata'] |
|
|
|
|
|
- **Total examples**: 57,638 |
|
|
|
|
|
|
|
|
## Usage |
|
|
|
|
|
```python |
|
|
from datasets import load_dataset |
|
|
|
|
|
# Load queries (split: queries) |
|
|
queries = load_dataset("Hyukkyu/beir-fiqa-2018", "queries", split="queries") |
|
|
|
|
|
# Load corpus (split: corpus) |
|
|
corpus = load_dataset("Hyukkyu/beir-fiqa-2018", "corpus", split="corpus") |
|
|
``` |
|
|
|
|
|
|
|
|
## Available Splits |
|
|
|
|
|
### Queries |
|
|
- `queries`: 6,648 examples |
|
|
|
|
|
### Corpus |
|
|
- `corpus`: 57,638 examples |
|
|
|
|
|
## Original Dataset |
|
|
|
|
|
This dataset is migrated from: BeIR/fiqa |
|
|
|
|
|
## Citation |
|
|
|
|
|
If you use this dataset, please cite the original BEIR paper: |
|
|
|
|
|
```bibtex |
|
|
@article{thakur2021beir, |
|
|
title={BEIR: A Heterogeneous Benchmark for Zero-shot Evaluation of Information Retrieval Models}, |
|
|
author={Thakur, Nandan and Reimers, Nils and Ruckle, Andreas and Srivastava, Abhishek and Gurevych, Iryna}, |
|
|
journal={arXiv preprint arXiv:2104.08663}, |
|
|
year={2021} |
|
|
} |
|
|
``` |
|
|
|