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

Method doc_to_target

test/general/lm_eval/tasks/drop.py:123–124  ·  view source on GitHub ↗
(self, doc)

Source from the content-addressed store, hash-verified

121 return doc["passage"] + " " + doc["question"]
122
123 def doc_to_target(self, doc):
124 return " " + ", ".join(doc["answers"][0])
125
126 def construct_requests(self, doc, ctx):
127 """Uses RequestFactory to construct Requests and returns an iterable of

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected