jordiae commited on
Commit
8f09c82
1 Parent(s): f05fae3

Update escorpius.py

Browse files
Files changed (1) hide show
  1. escorpius.py +1 -1
escorpius.py CHANGED
@@ -140,7 +140,7 @@ class EsCorpius(datasets.GeneratorBasedBuilder):
140
  """Yield examples as (key, example) tuples."""
141
  key = 0
142
 
143
- for path in sorted(Path(files).rglob('*.jsonl*')):
144
  with open(open(path, "r"), encoding="utf-8") as f:
145
  for row in f:
146
  data = json.loads(row)
 
140
  """Yield examples as (key, example) tuples."""
141
  key = 0
142
 
143
+ for path in files:#sorted(Path(files).rglob('*.jsonl*')):
144
  with open(open(path, "r"), encoding="utf-8") as f:
145
  for row in f:
146
  data = json.loads(row)