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

Method __call__

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

Source from the content-addressed store, hash-verified

65 self.prefix = prefix
66
67 def __call__(self, inputs, **kwargs):
68 return [{f"{self.prefix}_text": "Lorem ipsum"} for _ in inputs]
69
70
71class DummyTextClassificationPipeline:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected