maxisawesome commited on
Commit
d3323ee
1 Parent(s): a72891a
Files changed (1) hide show
  1. test_dataset.py +2 -1
test_dataset.py CHANGED
@@ -64,7 +64,7 @@ class TestDatasetEvals(datasets.GeneratorBasedBuilder):
64
  TestDatasetConfig(
65
  name="invoker",
66
  description= "this is a test dataset for our unit test intergrating HF datasets" ,
67
- text_features={"quas": "quas stats", "wex": "wex stats", "exort": "exort stats", "spell": "spell invoked"},
68
  data_dir="heroes",
69
  ),
70
  ]
@@ -94,6 +94,7 @@ class TestDatasetEvals(datasets.GeneratorBasedBuilder):
94
  return self.config.name + '/data.jsonl'
95
 
96
  def _generate_examples(self, data_file):
 
97
  with open(data_file, encoding="utf8") as f:
98
  for n, row in enumerate(f):
99
  data = json.loads(row)
 
64
  TestDatasetConfig(
65
  name="invoker",
66
  description= "this is a test dataset for our unit test intergrating HF datasets" ,
67
+ text_features={"quas": "quas", "wex": "wex", "exort": "exort", "spell": "spell"},
68
  data_dir="heroes",
69
  ),
70
  ]
 
94
  return self.config.name + '/data.jsonl'
95
 
96
  def _generate_examples(self, data_file):
97
+ print(data_file)
98
  with open(data_file, encoding="utf8") as f:
99
  for n, row in enumerate(f):
100
  data = json.loads(row)