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

Method _feature_names

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

Source from the content-addressed store, hash-verified

616 raise ValueError(error_msg) from None
617
618 def _feature_names(self):
619 if isinstance(self.features, list):
620 feature_names = list(self.features[0].keys())
621 else:
622 feature_names = list(self.features.keys())
623 return feature_names
624
625 def _init_writer(self, timeout=1):
626 if self.num_process > 1:

Callers 5

computeMethod · 0.95
add_batchMethod · 0.95
addMethod · 0.95
addMethod · 0.80
add_batchMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected