Datasets:
Commit
·
e0e4fb3
1
Parent(s):
c1ea8c9
Update SpaCE2021.py
Browse files- SpaCE2021.py +1 -1
SpaCE2021.py
CHANGED
|
@@ -171,5 +171,5 @@ class SpaCE2021(datasets.GeneratorBasedBuilder):
|
|
| 171 |
with open(filepath, encoding="utf-8") as f:
|
| 172 |
for idx, line in enumerate(f):
|
| 173 |
example = json.loads(line.strip())
|
| 174 |
-
yield
|
| 175 |
|
|
|
|
| 171 |
with open(filepath, encoding="utf-8") as f:
|
| 172 |
for idx, line in enumerate(f):
|
| 173 |
example = json.loads(line.strip())
|
| 174 |
+
yield example.get("qID"), example
|
| 175 |
|