MCPcopy Create free account
hub / github.com/bruno686/VisPlay / load_data

Method load_data

evaluation/datasets_loader.py:82–88  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

80 super().__init__(answer_pattern)
81
82 def load_data(self):
83 dataset = load_dataset("zwhe99/amc23", split='test')
84 examples = [row for row in dataset]
85 questions = [example['question'] for example in examples] *32
86 answers = [example['answer'] for example in examples] *32
87
88 return questions, answers
89
90class MinervaDatasetHandler(DatasetHandler):
91 def __init__(self, answer_pattern: str = ANSWER_PATTERN_BOXED):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected