MCPcopy Create free account
hub / github.com/InternScience/SciReason / LMEvalDataset

Class LMEvalDataset

opencompass/datasets/lmeval.py:6–13  ·  view source on GitHub ↗

A dataset wrapper around the evaluator inputs, designed for OpenCompass's internal use.

Source from the content-addressed store, hash-verified

4
5
6class LMEvalDataset(BaseDataset):
7 """A dataset wrapper around the evaluator inputs, designed for
8 OpenCompass's internal use."""
9
10 @staticmethod
11 def load(**kwargs):
12 content = {k: v for k, v in kwargs.items() if v}
13 return DatasetDict(dict(test=Dataset.from_dict(content)))

Callers 2

scoreMethod · 0.90
scoreMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected