Datasets:
Update e.py
Browse files
e.py
CHANGED
@@ -73,4 +73,4 @@ class EDataset(datasets.GeneratorBasedBuilder):
|
|
73 |
for archive_iterator in archive_iterators:
|
74 |
for code_path, code_f in archive_iterator:
|
75 |
if code_path.endswith(".sol.txt") or code_path.endswith(".sol"):
|
76 |
-
yield code_path, {"train":
|
|
|
73 |
for archive_iterator in archive_iterators:
|
74 |
for code_path, code_f in archive_iterator:
|
75 |
if code_path.endswith(".sol.txt") or code_path.endswith(".sol"):
|
76 |
+
yield code_path, {"train": code_f.read().decode("utf-8").strip()}
|