File size: 2,281 Bytes
250cec6
 
 
 
 
 
 
 
 
 
5454dd4
 
250cec6
 
 
 
 
 
 
948deb2
ef2223e
948deb2
ef2223e
250cec6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ef2223e
250cec6
 
ef2223e
 
250cec6
 
 
 
 
 
 
 
 
 
 
 
5454dd4
250cec6
 
 
 
 
 
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
---
language:
  - en
license: apache-2.0
tags:
  - text
pretty_name: MS MARCO hard negatives
size_categories:
  - "100K<n<1M"
source_datasets:
  - "BeIR/msmarco"
  - "sentence-transformers/msmarco-hard-negatives"
task_categories:
  - sentence-similarity
dataset_info:
  config_name: default
  features:
  - name: query
    dtype: string
  - name: positive
    sequence: string
  - name: negative
    sequence: string
  splits:
    - name: train
      num_bytes: 89609915
      num_examples: 502939
train-eval-index:
  - config: default
    task: sentence-similarity
    splits:
      train_split: train
      eval_split: test
configs:
- config_name: default
  data_files:
  - split: train
    path: "data/train/*"
---

# MS MARCO hard negatives dataset

A dataset in a [nixietune](https://github.com/nixiesearch/nixietune) compatible format:

```json
{
  "query": ")what was the immediate impact of the success of the manhattan project?",
  "pos": [
    "The presence of communication amid scientific minds was equally important to the success of the Manhattan Project as scientific intellect was. The only cloud hanging over the impressive achievement of the atomic researchers and engineers is what their success truly meant; hundreds of thousands of innocent lives obliterated."
  ],
  "neg": [
    "Abstract. The pivotal engineering and scientific success of the Twentieth century was the Manhattan Project. The Manhattan Project assimilated concepts and leaders from all scientific fields and engineering disciplines to construct the first two atomic bombs.",
    "The pivotal engineering and scientific success of the Twentieth century was the Manhattan Project. The Manhattan Project assimilated concepts and leaders from all scientific fields and engineering disciplines to construct the first two atomic bombs."
  ]
}
```

This is the original [BeIR-msmarco](https://huggingface.co/datasets/BeIR/msmarco) joined with the [msmarco-hard-negatives](https://huggingface.co/datasets/sentence-transformers/msmarco-hard-negatives) dataset with the following splits:
* train: 502939 queries, only positives.

## Usage

```python
from datasets import load_dataset

data = load_dataset('nixiesearch/ms-marco-hard-negatives')
print(data["train"].features)
```

## License

Apache 2.0