Datasets:
hugforziio
commited on
Commit
·
10f7567
1
Parent(s):
93c386e
Update SpaCE2021.py
Browse files- SpaCE2021.py +1 -1
SpaCE2021.py
CHANGED
@@ -177,6 +177,6 @@ class SpaCE2021(datasets.GeneratorBasedBuilder):
|
|
177 |
for idx, line in enumerate(ff):
|
178 |
example = json.loads(line.strip())
|
179 |
qid = example.get("qID")
|
180 |
-
if split == qid.split("-")[
|
181 |
yield example.get("qID"), example
|
182 |
|
|
|
177 |
for idx, line in enumerate(ff):
|
178 |
example = json.loads(line.strip())
|
179 |
qid = example.get("qID")
|
180 |
+
if split == qid.split("-")[1]:
|
181 |
yield example.get("qID"), example
|
182 |
|