MCPcopy Create free account
hub / github.com/OpenBitSys/BitDistiller / process_results

Method process_results

test/general/lm_eval/tasks/glue.py:533–544  ·  view source on GitHub ↗

Take a single document and the LM results and evaluates, returning a dict where keys are the names of submetrics and values are the values of the metric for that one document :param doc: The document as returned from training_docs, validation_docs, or test_docs.

(self, doc, results)

Source from the content-addressed store, hash-verified

531 raise NotImplementedError("Evaluation not implemented")
532
533 def process_results(self, doc, results):
534 """Take a single document and the LM results and evaluates, returning a
535 dict where keys are the names of submetrics and values are the values of
536 the metric for that one document
537
538 :param doc:
539 The document as returned from training_docs, validation_docs, or test_docs.
540 :param results:
541 The results of the requests created in construct_requests.
542 """
543 # TODO: implement evaluation.
544 raise NotImplementedError("Evaluation not implemented")
545
546 def aggregation(self):
547 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected