Datasets:
File size: 2,253 Bytes
9ac36c9 d3b5f92 44f9d71 d3b5f92 44f9d71 d3b5f92 9ac36c9 |
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 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 |
---
license: apache-2.0
task_categories:
- information-retrieval
- text-retrieval
tags:
- beir
- nq
- information-retrieval
- retrieval
- search
configs:
- config_name: corpus
data_files:
- split: train
path: corpus/train-*
- config_name: queries
data_files:
- split: train
path: queries/train-*
dataset_info:
- config_name: corpus
features:
- name: _id
dtype: string
- name: title
dtype: string
- name: text
dtype: string
- name: metadata
dtype: 'null'
splits:
- name: train
num_bytes: 1381417863
num_examples: 2681468
download_size: 767872667
dataset_size: 1381417863
- config_name: queries
features:
- name: _id
dtype: string
- name: text
dtype: string
- name: metadata
dtype: 'null'
splits:
- name: train
num_bytes: 220472
num_examples: 3452
download_size: 137910
dataset_size: 220472
---
# BEIR NQ Dataset (Migrated)
This is a migrated version of BeIR/nq that is compatible with datasets library 4.0.0+.
## Dataset Description
This dataset contains the nq dataset from the BEIR benchmark, converted from the old script-based format to Parquet format.
## Dataset Structure
### Queries
- **Split 'queries'**: 3,452 examples
- Features: ['_id', 'text', 'metadata']
- **Total examples**: 3,452
### Corpus
- **Split 'corpus'**: 2,681,468 examples
- Features: ['_id', 'title', 'text', 'metadata']
- **Total examples**: 2,681,468
## Usage
```python
from datasets import load_dataset
# Load queries (split: queries)
queries = load_dataset("Hyukkyu/beir-nq", "queries", split="queries")
# Load corpus (split: corpus)
corpus = load_dataset("Hyukkyu/beir-nq", "corpus", split="corpus")
```
## Available Splits
### Queries
- `queries`: 3,452 examples
### Corpus
- `corpus`: 2,681,468 examples
## Original Dataset
This dataset is migrated from: BeIR/nq
## 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}
}
```
|