Datasets:
theblackcat102
commited on
Commit
•
50eab19
1
Parent(s):
71ea52d
Upload alexa-qa-with-rank.py
Browse files- alexa-qa-with-rank.py +1 -1
alexa-qa-with-rank.py
CHANGED
@@ -124,7 +124,7 @@ class AlexaHumanRank(datasets.GeneratorBasedBuilder):
|
|
124 |
for key, row in enumerate(f):
|
125 |
data = json.loads(row)
|
126 |
yield key, {
|
127 |
-
"
|
128 |
"question": data["question"],
|
129 |
"topics": data["topics"],
|
130 |
}
|
|
|
124 |
for key, row in enumerate(f):
|
125 |
data = json.loads(row)
|
126 |
yield key, {
|
127 |
+
"answers": json.dumps(data["answers"]),
|
128 |
"question": data["question"],
|
129 |
"topics": data["topics"],
|
130 |
}
|