migrate to newer ds format
Browse files- README.md +5 -10
- data/dev/dev.jsonl.gz +2 -2
- data/test/test.jsonl.gz +0 -3
- data/train/train.jsonl.gz +2 -2
- use.py +1 -1
README.md
CHANGED
@@ -16,9 +16,9 @@ dataset_info:
|
|
16 |
features:
|
17 |
- name: query
|
18 |
dtype: string
|
19 |
-
- name:
|
20 |
-
|
21 |
-
- name:
|
22 |
sequence: string
|
23 |
splits:
|
24 |
- name: train
|
@@ -41,8 +41,6 @@ configs:
|
|
41 |
data_files:
|
42 |
- split: train
|
43 |
path: "data/train/*"
|
44 |
-
- split: test
|
45 |
-
path: "data/test/*"
|
46 |
- split: dev
|
47 |
path: "data/dev/*"
|
48 |
---
|
@@ -54,16 +52,13 @@ A dataset in a [nixietune](https://github.com/nixiesearch/nixietune) compatible
|
|
54 |
```json
|
55 |
{
|
56 |
"query": ")what was the immediate impact of the success of the manhattan project?",
|
57 |
-
"
|
58 |
-
|
59 |
-
],
|
60 |
-
"negative": []
|
61 |
}
|
62 |
```
|
63 |
|
64 |
This is the original [BeIR/msmarco](https://huggingface.co/datasets/BeIR/msmarco) converted dataset with the following splits:
|
65 |
* train: 502939 queries, only positives.
|
66 |
-
* test: 43 queries, positives and negatives.
|
67 |
* dev: 6980 queries, only positives.
|
68 |
|
69 |
## Usage
|
|
|
16 |
features:
|
17 |
- name: query
|
18 |
dtype: string
|
19 |
+
- name: doc
|
20 |
+
dtype: string
|
21 |
+
- name: neg
|
22 |
sequence: string
|
23 |
splits:
|
24 |
- name: train
|
|
|
41 |
data_files:
|
42 |
- split: train
|
43 |
path: "data/train/*"
|
|
|
|
|
44 |
- split: dev
|
45 |
path: "data/dev/*"
|
46 |
---
|
|
|
52 |
```json
|
53 |
{
|
54 |
"query": ")what was the immediate impact of the success of the manhattan project?",
|
55 |
+
"doc": "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."
|
56 |
+
"neg": []
|
|
|
|
|
57 |
}
|
58 |
```
|
59 |
|
60 |
This is the original [BeIR/msmarco](https://huggingface.co/datasets/BeIR/msmarco) converted dataset with the following splits:
|
61 |
* train: 502939 queries, only positives.
|
|
|
62 |
* dev: 6980 queries, only positives.
|
63 |
|
64 |
## Usage
|
data/dev/dev.jsonl.gz
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d36325cbb3aa628a9de418b831c3cde47da0bff0b975c994ee7c84984e404272
|
3 |
+
size 1037157
|
data/test/test.jsonl.gz
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:d7daf1e3f97722ae59b888591756a12846b2fc02b89ee536d189faa27e684136
|
3 |
-
size 951166
|
|
|
|
|
|
|
|
data/train/train.jsonl.gz
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:500de647bcdebd08c657618f9be7f17d28ff2d6b1569adf22b1551caa779ee9c
|
3 |
+
size 77485321
|
use.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
from datasets import load_dataset
|
2 |
|
3 |
data = load_dataset("nixiesearch/ms_marco")
|
4 |
-
print(data)
|
|
|
1 |
from datasets import load_dataset
|
2 |
|
3 |
data = load_dataset("nixiesearch/ms_marco")
|
4 |
+
print(data["train"].features)
|