Skip to content

MTBenchEvaluator and MMLUEvaluator should be/have static methods #26

Open
@JamesKunstle

Description

@JamesKunstle

Evaluator objects shouldn't be reused- once we've evaluated a checkpoint or model, we want to save the score and move on to the next. This motivates a reasonable design change, implementing something like:

class MMLUEvaluator(Evaluator):

    def __init__(self):
        # optional empty initialization 
        ...

    def run(self):
       ...

    @staticmethod
    def run(self, model, tasks, few_shot, batch):
        ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    mmluPertains to MMLUmtbenchPertains to MTBench

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions