spacemanidol
commited on
Commit
·
b4dc319
1
Parent(s):
a507683
fix
Browse files- ESCI-product-dataset.py +5 -5
ESCI-product-dataset.py
CHANGED
@@ -47,31 +47,31 @@ class ESCIproduct(datasets.GeneratorBasedBuilder):
|
|
47 |
'query_id': datasets.Value('string'),
|
48 |
'query': datasets.Value('string'),
|
49 |
'positive_passages': [
|
50 |
-
{'
|
51 |
'title': datasets.Value('string'), 'bullet_points': datasets.Value('string'),
|
52 |
'color': datasets.Value('string'), 'locale': datasets.Value('string'),
|
53 |
'content': datasets.Value('string')}
|
54 |
],
|
55 |
'positive_passages_substitue': [
|
56 |
-
{'
|
57 |
'title': datasets.Value('string'), 'bullet_points': datasets.Value('string'),
|
58 |
'color': datasets.Value('string'), 'locale': datasets.Value('string'),
|
59 |
'content': datasets.Value('string')}
|
60 |
],
|
61 |
'negative_passages': [
|
62 |
-
{'
|
63 |
'title': datasets.Value('string'), 'bullet_points': datasets.Value('string'),
|
64 |
'color': datasets.Value('string'), 'locale': datasets.Value('string'),
|
65 |
'content': datasets.Value('string')}
|
66 |
],
|
67 |
'negative_passages_true': [
|
68 |
-
{'
|
69 |
'title': datasets.Value('string'), 'bullet_points': datasets.Value('string'),
|
70 |
'color': datasets.Value('string'), 'locale': datasets.Value('string'),
|
71 |
'content': datasets.Value('string')}
|
72 |
],
|
73 |
'negative_passages_complement': [
|
74 |
-
{'
|
75 |
'title': datasets.Value('string'), 'bullet_points': datasets.Value('string'),
|
76 |
'color': datasets.Value('string'), 'locale': datasets.Value('string'),
|
77 |
'content': datasets.Value('string')}
|
|
|
47 |
'query_id': datasets.Value('string'),
|
48 |
'query': datasets.Value('string'),
|
49 |
'positive_passages': [
|
50 |
+
{'doc_id': datasets.Value('string'), 'text': datasets.Value('string'),
|
51 |
'title': datasets.Value('string'), 'bullet_points': datasets.Value('string'),
|
52 |
'color': datasets.Value('string'), 'locale': datasets.Value('string'),
|
53 |
'content': datasets.Value('string')}
|
54 |
],
|
55 |
'positive_passages_substitue': [
|
56 |
+
{'doc_id': datasets.Value('string'), 'text': datasets.Value('string'),
|
57 |
'title': datasets.Value('string'), 'bullet_points': datasets.Value('string'),
|
58 |
'color': datasets.Value('string'), 'locale': datasets.Value('string'),
|
59 |
'content': datasets.Value('string')}
|
60 |
],
|
61 |
'negative_passages': [
|
62 |
+
{'doc_id': datasets.Value('string'), 'text': datasets.Value('string'),
|
63 |
'title': datasets.Value('string'), 'bullet_points': datasets.Value('string'),
|
64 |
'color': datasets.Value('string'), 'locale': datasets.Value('string'),
|
65 |
'content': datasets.Value('string')}
|
66 |
],
|
67 |
'negative_passages_true': [
|
68 |
+
{'doc_id': datasets.Value('string'), 'text': datasets.Value('string'),
|
69 |
'title': datasets.Value('string'), 'bullet_points': datasets.Value('string'),
|
70 |
'color': datasets.Value('string'), 'locale': datasets.Value('string'),
|
71 |
'content': datasets.Value('string')}
|
72 |
],
|
73 |
'negative_passages_complement': [
|
74 |
+
{'doc_id': datasets.Value('string'), 'text': datasets.Value('string'),
|
75 |
'title': datasets.Value('string'), 'bullet_points': datasets.Value('string'),
|
76 |
'color': datasets.Value('string'), 'locale': datasets.Value('string'),
|
77 |
'content': datasets.Value('string')}
|