jquave commited on
Commit
938c2b8
1 Parent(s): 7bc7901

Update e.py

Browse files
Files changed (1) hide show
  1. e.py +1 -1
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": re.sub("\n\n\n+", "\n\n", code_f.read().decode("utf-8")).strip()}
 
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()}