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

Method doc_to_target

test/general/lm_eval/base.py:744–745  ·  view source on GitHub ↗
(self, doc)

Source from the content-addressed store, hash-verified

742
743class MultipleChoiceTask(Task):
744 def doc_to_target(self, doc):
745 return " " + doc["choices"][doc["gold"]]
746
747 def construct_requests(self, doc, ctx):
748 lls = [

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected