maxisawesome
commited on
Commit
•
712290e
1
Parent(s):
6795b29
wip
Browse files- test_dataset.py +1 -2
test_dataset.py
CHANGED
@@ -58,7 +58,7 @@ class TestDatasetEvals(datasets.GeneratorBasedBuilder):
|
|
58 |
TestDatasetConfig(
|
59 |
name="juggernaut",
|
60 |
description= "this is a test dataset for our unit test intergrating HF datasets" ,
|
61 |
-
text_features={"context": "context", "continuation": "
|
62 |
data_dir="heroes",
|
63 |
),
|
64 |
TestDatasetConfig(
|
@@ -93,7 +93,6 @@ class TestDatasetEvals(datasets.GeneratorBasedBuilder):
|
|
93 |
return self.config.name + '/data.jsonl'
|
94 |
|
95 |
def _generate_examples(self, data_file):
|
96 |
-
print(data_file)
|
97 |
with open(data_file, encoding="utf8") as f:
|
98 |
for n, row in enumerate(f):
|
99 |
data = json.loads(row)
|
|
|
58 |
TestDatasetConfig(
|
59 |
name="juggernaut",
|
60 |
description= "this is a test dataset for our unit test intergrating HF datasets" ,
|
61 |
+
text_features={"context": "context", "continuation": "answer"},
|
62 |
data_dir="heroes",
|
63 |
),
|
64 |
TestDatasetConfig(
|
|
|
93 |
return self.config.name + '/data.jsonl'
|
94 |
|
95 |
def _generate_examples(self, data_file):
|
|
|
96 |
with open(data_file, encoding="utf8") as f:
|
97 |
for n, row in enumerate(f):
|
98 |
data = json.loads(row)
|