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

Method doc_to_target

test/general/lm_eval/tasks/hendrycks_math.py:62–63  ·  view source on GitHub ↗
(self, doc)

Source from the content-addressed store, hash-verified

60 return doc["problem"]
61
62 def doc_to_target(self, doc):
63 return " " + doc["solution"]
64
65 def construct_requests(self, doc, ctx):
66 return rf.greedy_until(ctx, {"until": ["\n"]})

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected