MCPcopy Create free account
hub / github.com/huggingface/evaluate / __call__

Method __call__

tests/test_evaluator.py:58–59  ·  view source on GitHub ↗
(self, inputs, **kwargs)

Source from the content-addressed store, hash-verified

56 self.num_return_sequences = num_return_sequences
57
58 def __call__(self, inputs, **kwargs):
59 return [[{f"{self.prefix}_text": "Lorem ipsum"} for _ in range(self.num_return_sequences)] for _ in inputs]
60
61
62class DummyText2TextGenerationPipeline:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected