MCPcopy Create free account
hub / github.com/OpenSparseLLMs/MoM / doc_to_target

Method doc_to_target

lm-eval-harness/lm_eval/tasks/based_fda/task.py:40–41  ·  view source on GitHub ↗
(self, doc)

Source from the content-addressed store, hash-verified

38 return out
39
40 def doc_to_target(self, doc):
41 return doc["value"]
42
43 def construct_requests(self, doc, ctx, **kwargs):
44 """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