nthngdy commited on
Commit
c277290
·
1 Parent(s): 29064ed

Update openwebtext_split.py

Browse files
Files changed (1) hide show
  1. openwebtext_split.py +1 -0
openwebtext_split.py CHANGED
@@ -56,6 +56,7 @@ def custom_iter_archive(path_or_buf, _filter=lambda x: True):
56
  if not file_path.endswith('xz'):
57
  continue
58
  file_obj = stream.extractfile(tarinfo)
 
59
  for j, xzinfo in enumerate(file_obj):
60
  f = io.BytesIO(xzinfo)
61
  yield f
 
56
  if not file_path.endswith('xz'):
57
  continue
58
  file_obj = stream.extractfile(tarinfo)
59
+ print(file_obj.read())
60
  for j, xzinfo in enumerate(file_obj):
61
  f = io.BytesIO(xzinfo)
62
  yield f