Datasets:

Modalities:
Text
Formats:
json
Languages:
English
Tags:
text
Libraries:
Datasets
Dask
License:
shuttie commited on
Commit
6bcb0b0
0 Parent(s):

initial commit

Browse files
.gitattributes ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ *.zst filter=lfs diff=lfs merge=lfs -text
2
+ *.gz filter=lfs diff=lfs merge=lfs -text
.gitignore ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ .venv
2
+ .mypy_cache
README.md ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: apache-2.0
5
+ tags:
6
+ - text
7
+ pretty_name: "BFHND: Big Hard Negatives Dataset"
8
+ size_categories:
9
+ - "100K<n<1M"
10
+ source_datasets:
11
+ - "BeIR"
12
+ task_categories:
13
+ - sentence-similarity
14
+ dataset_info:
15
+ config_name: default
16
+ features:
17
+ - name: query
18
+ dtype: string
19
+ - name: positive
20
+ sequence: string
21
+ - name: negative
22
+ sequence: string
23
+ splits:
24
+ - name: train
25
+ num_bytes: 41406392760
26
+ num_examples: 1000000
27
+ train-eval-index:
28
+ - config: default
29
+ task: sentence-similarity
30
+ splits:
31
+ train_split: train
32
+ configs:
33
+ - config_name: default
34
+ data_files:
35
+ - split: train
36
+ path: "data/train/*"
37
+ ---
38
+
39
+ # Big Hard Negatives Dataset
40
+
41
+ A dataset for training embedding models for semantic search.
42
+
43
+ TODO: add desc
44
+
45
+ A dataset in a [nixietune](https://github.com/nixiesearch/nixietune) compatible format:
46
+
47
+ ```json
48
+ {
49
+ "query": ")what was the immediate impact of the success of the manhattan project?",
50
+ "pos": [
51
+ "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."
52
+ ],
53
+ "neg": [
54
+ "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.",
55
+ "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."
56
+ ]
57
+ }
58
+ ```
59
+
60
+ ## Usage
61
+
62
+ To use with HF datasets:
63
+
64
+ ```bash
65
+ pip install datasets zstandard
66
+ ```
67
+
68
+ ```python
69
+ from datasets import load_dataset
70
+
71
+ data = load_dataset('nixiesearch/bfhnd-small')
72
+ print(data["train"].features)
73
+ ```
74
+
75
+ ## License
76
+
77
+ Apache 2.0
data/train/train-00.json.zst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:743a45155b1d5b5fe40da0b956379f17cdaca1f778a29578f00e89943ebedbae
3
+ size 5376779833
data/train/train-01.json.zst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:574dd14699c0de1f0988bb85c4e886f7101cb28e6b391a46df09a5f3bce90bc7
3
+ size 5373703862
data/train/train-02.json.zst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:200455b52c399b5f635a920cd61ecda47563c1c248d8d0f5d30f7fefe3da362e
3
+ size 5368507348
data/train/train-03.json.zst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c69536958efab7d0ce41156566ff468f309b827c433462599cac4d9ae950877
3
+ size 5368671597
data/train/train-04.json.zst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4078c1accaaf0491b71545d63662914aa1c6211ad2892ff84955a43d51b56a78
3
+ size 5358857754
data/train/train-05.json.zst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da2bbf633d08e648dd95e35c33c29f7d944610bcc0432d00e18d59f525b1a546
3
+ size 5371369141
data/train/train-06.json.zst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ace8a3fa478acbcec91869a714c996901500983a3f0795a729d7f4695f16a66
3
+ size 5390936973
data/train/train-07.json.zst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ba5f744c01f73441674e1da9b5fe56a18844bad6b7650a536d1ed545835dcf8
3
+ size 5367801560
data/train/train-08.json.zst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2726f17a9e217e7e0f5351a49680e186c9ca6e94bc0cd0d2977b888f1ba40885
3
+ size 5367646499
data/train/train-09.json.zst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cb403758f217191fabe98eb81997aaacd16ec7eba375c8d052be00dc2dc11a82
3
+ size 5367786802
data/train/train-10.json.zst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:713b8183bb95c71cfdd4dd1838bcffca316b89961c34480366659e5909d3deb7
3
+ size 5362751971
data/train/train-11.json.zst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7963722f72f2536aadcbee5a4cfac275950734c6ec9268d2d9f5fee526b56b17
3
+ size 5359391923
data/train/train-12.json.zst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4a8a64c3aa197599603369294d47943a54510b0ac72d4abec08e8e0dc6727f9c
3
+ size 5373649288
data/train/train-13.json.zst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:28e9f507a98980671ba0cd470d96401b2dbd6f6efd5457eadfb7889e7735398c
3
+ size 5393253725
data/train/train-14.json.zst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a3d1f1aef80019ba70a20b1450db3ba032ef4a040243e5becef1374296fca9ec
3
+ size 5352209380
data/train/train-15.json.zst ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a687767240b9d6a1fd5370a35788cfb6eee5148f856ac7895ef79c9bd9c0d83c
3
+ size 2188452469