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

Method __repr__

src/evaluate/module.py:259–264  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

257 return 0 if self.writer is None else len(self.writer)
258
259 def __repr__(self):
260 return (
261 f'EvaluationModule(name: "{self.name}", module_type: "{self.module_type}", '
262 f'features: {self.features}, usage: """{self.inputs_description}""", '
263 f"stored examples: {len(self)})"
264 )
265
266 def _build_data_dir(self):
267 """Path of this evaluation module in cache_dir:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected