Commit
·
02d81b5
1
Parent(s):
c48719a
loading script created
Browse files- 123_test.py +1 -1
123_test.py
CHANGED
@@ -130,7 +130,7 @@ class FewshotPretraining(datasets.GeneratorBasedBuilder):
|
|
130 |
def _generate_examples(self, file_paths, split):
|
131 |
# The `key` is for legacy reasons (tfds) and is not important in itself, but must be unique for each example.
|
132 |
print("generating {}".format(file_paths))
|
133 |
-
for file_path in
|
134 |
with open(file_path, encoding="utf-8") as f:
|
135 |
data = pd.read_json(file_path, orient="records", lines=True)
|
136 |
for i in range(data.shape[0]):
|
|
|
130 |
def _generate_examples(self, file_paths, split):
|
131 |
# The `key` is for legacy reasons (tfds) and is not important in itself, but must be unique for each example.
|
132 |
print("generating {}".format(file_paths))
|
133 |
+
for file_path in file_paths:
|
134 |
with open(file_path, encoding="utf-8") as f:
|
135 |
data = pd.read_json(file_path, orient="records", lines=True)
|
136 |
for i in range(data.shape[0]):
|