Datasets:

Modalities:
Text
Languages:
English
Libraries:
Datasets
License:
Zhangir Azerbayev commited on
Commit
3d7992e
1 Parent(s): 0443587

maybe fixed byte strings thing?

Browse files
Files changed (1) hide show
  1. proof-pile.py +1 -1
proof-pile.py CHANGED
@@ -186,7 +186,7 @@ class ProofPile(datasets.GeneratorBasedBuilder):
186
  key = 0
187
  if self.config.name in self.archived_configs:
188
  for name, obj in data_files:
189
- text = obj.read()
190
  # Yields examples as (key, example) tuples
191
  yield key, {
192
  "config": self.config.name,
 
186
  key = 0
187
  if self.config.name in self.archived_configs:
188
  for name, obj in data_files:
189
+ text = obj.read().decode()
190
  # Yields examples as (key, example) tuples
191
  yield key, {
192
  "config": self.config.name,