Datasets:
Muennighoff
commited on
Commit
•
74f2d50
1
Parent(s):
4190d81
Update xP3x-sample.py
Browse files- xP3x-sample.py +1 -1
xP3x-sample.py
CHANGED
@@ -105,5 +105,5 @@ class xP3x_sample(datasets.GeneratorBasedBuilder):
|
|
105 |
|
106 |
with open(filepath, encoding="utf-8") as f:
|
107 |
for id_, row in enumerate(f):
|
108 |
-
data = json.loads(row)
|
109 |
yield id_, data
|
|
|
105 |
|
106 |
with open(filepath, encoding="utf-8") as f:
|
107 |
for id_, row in enumerate(f):
|
108 |
+
data = json.loads(eval(row))
|
109 |
yield id_, data
|