Clémentine
commited on
Commit
·
96a07c6
1
Parent(s):
d5f22a9
add
Browse files- ms_marco.py +9 -2
- regular/train.jsonl +0 -0
- regular/valid.jsonl +0 -0
- trec/train.jsonl +0 -0
- trec/valid.jsonl +0 -0
ms_marco.py
CHANGED
@@ -24,12 +24,19 @@ class Builder(datasets.GeneratorBasedBuilder):
|
|
24 |
{
|
25 |
"text": datasets.Value("string"),
|
26 |
"references": datasets.Sequence({
|
|
|
27 |
"text": datasets.Value("string"),
|
28 |
-
"
|
|
|
|
|
|
|
29 |
}),
|
30 |
"golds": datasets.Sequence({
|
|
|
31 |
"text": datasets.Value("string"),
|
32 |
-
"
|
|
|
|
|
33 |
}),
|
34 |
}
|
35 |
)
|
|
|
24 |
{
|
25 |
"text": datasets.Value("string"),
|
26 |
"references": datasets.Sequence({
|
27 |
+
"id": datasets.Value("string"),
|
28 |
"text": datasets.Value("string"),
|
29 |
+
"is_gold": datasets.Value("bool"),
|
30 |
+
"relevance": datasets.Value("int64"),
|
31 |
+
"rank": datasets.Value("int64"),
|
32 |
+
|
33 |
}),
|
34 |
"golds": datasets.Sequence({
|
35 |
+
"id": datasets.Value("string"),
|
36 |
"text": datasets.Value("string"),
|
37 |
+
"is_gold": datasets.Value("bool"),
|
38 |
+
"relevance": datasets.Value("int64"),
|
39 |
+
"rank": datasets.Value("int64"),
|
40 |
}),
|
41 |
}
|
42 |
)
|
regular/train.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
regular/valid.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
trec/train.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
trec/valid.jsonl
CHANGED
The diff for this file is too large to render.
See raw diff
|
|