crystina-z
commited on
Commit
•
cf19afa
1
Parent(s):
34da346
Update xor-tydi.py
Browse files- xor-tydi.py +1 -1
xor-tydi.py
CHANGED
@@ -102,7 +102,7 @@ class XORTyDi(datasets.GeneratorBasedBuilder):
|
|
102 |
return data['query_id'], data
|
103 |
|
104 |
def process_dev_test_entry(data):
|
105 |
-
return {
|
106 |
"query_id": data["id"],
|
107 |
"query": data["question"],
|
108 |
"answers": data.get("answers", [])
|
|
|
102 |
return data['query_id'], data
|
103 |
|
104 |
def process_dev_test_entry(data):
|
105 |
+
return data["id"], {
|
106 |
"query_id": data["id"],
|
107 |
"query": data["question"],
|
108 |
"answers": data.get("answers", [])
|