Datasets:
Tasks:
Text Generation
Modalities:
Text
Sub-tasks:
language-modeling
Languages:
English
Size:
100K - 1M
License:
Zhangir Azerbayev
commited on
Commit
•
3d7992e
1
Parent(s):
0443587
maybe fixed byte strings thing?
Browse files- 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,
|