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

Method load_data

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

Source from the content-addressed store, hash-verified

174 super().__init__(answer_pattern)
175
176 def load_data(self):
177 dataset = load_dataset("MrLight/bbeh-eval", split='train')
178 examples = [row for row in dataset]
179 random.shuffle(examples)
180 examples = examples[:1000]
181 questions = [example['question'] for example in examples]
182 answers = [example['answer'] for example in examples]
183
184 return questions, answers
185
186class SuperGPQADatasetHandler(DatasetHandler):
187 def __init__(self, answer_pattern: str = ANSWER_PATTERN_MULTICHOICE):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected