Datasets:
Update c4_200m.py
Browse files- c4_200m.py +1 -1
c4_200m.py
CHANGED
@@ -83,7 +83,7 @@ class C4200M(datasets.GeneratorBasedBuilder):
|
|
83 |
for line in s:
|
84 |
yield line.replace('\0', ' ')
|
85 |
|
86 |
-
path = os.path.join(filepath, "
|
87 |
for filename in glob.glob(path):
|
88 |
with open(filename, encoding="utf-8") as f:
|
89 |
reader = csv.reader(fix_nulls(f), delimiter="\t", quoting=csv.QUOTE_NONE)
|
|
|
83 |
for line in s:
|
84 |
yield line.replace('\0', ' ')
|
85 |
|
86 |
+
path = os.path.join(filepath, "*.tsv*")
|
87 |
for filename in glob.glob(path):
|
88 |
with open(filename, encoding="utf-8") as f:
|
89 |
reader = csv.reader(fix_nulls(f), delimiter="\t", quoting=csv.QUOTE_NONE)
|