crystina-z commited on
Commit
8853685
·
1 Parent(s): cf19afa

Update xor-tydi.py

Browse files
Files changed (1) hide show
  1. xor-tydi.py +3 -1
xor-tydi.py CHANGED
@@ -105,7 +105,9 @@ class XORTyDi(datasets.GeneratorBasedBuilder):
105
  return data["id"], {
106
  "query_id": data["id"],
107
  "query": data["question"],
108
- "answers": data.get("answers", [])
 
 
109
  }
110
 
111
  for filepath in files:
 
105
  return data["id"], {
106
  "query_id": data["id"],
107
  "query": data["question"],
108
+ "answers": data.get("answers", []),
109
+ "positive_passages": [],
110
+ "negative_passages": [],
111
  }
112
 
113
  for filepath in files: