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

Method _question2id

test/general/lm_eval/tasks/mc_taco.py:104–106  ·  view source on GitHub ↗

Returns an identifier for the question in the given document.

(self, doc)

Source from the content-addressed store, hash-verified

102 return {"em": items, "f1": items}
103
104 def _question2id(self, doc):
105 """Returns an identifier for the question in the given document."""
106 return " ".join([doc["sentence"], doc["question"]])
107
108 def aggregation(self):
109 return {

Callers 1

process_resultsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected