(self)
| 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 | |
| 186 | class SuperGPQADatasetHandler(DatasetHandler): |
| 187 | def __init__(self, answer_pattern: str = ANSWER_PATTERN_MULTICHOICE): |
nothing calls this directly
no outgoing calls
no test coverage detected