Update
Browse files- Custom_SQuAD.py +2 -2
Custom_SQuAD.py
CHANGED
@@ -178,11 +178,11 @@ class ShellcodeIA32(datasets.GeneratorBasedBuilder):
|
|
178 |
yield idx, {
|
179 |
"id": row["id"],
|
180 |
"title": "",
|
181 |
-
"context": "",
|
182 |
"question": row["question"],
|
183 |
"answers": {
|
184 |
"text": row["answers"]["text"],
|
185 |
-
"answer_start": [
|
186 |
}
|
187 |
}
|
188 |
|
|
|
178 |
yield idx, {
|
179 |
"id": row["id"],
|
180 |
"title": "",
|
181 |
+
"context": row["context"],
|
182 |
"question": row["question"],
|
183 |
"answers": {
|
184 |
"text": row["answers"]["text"],
|
185 |
+
"answer_start": [0]
|
186 |
}
|
187 |
}
|
188 |
|