Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenSparseLLMs/MoM
/ doc_to_target
Method
doc_to_target
lm-eval-harness/lm_eval/api/task.py:348–349 ·
view source on GitHub ↗
(self, doc)
Source
from the content-addressed store, hash-verified
346
347
@abc.abstractmethod
348
def
doc_to_target(self, doc):
349
pass
350
351
352
def
truncate_context(self,
Callers
3
fewshot_context
Method · 0.95
evaluate
Function · 0.45
get_context
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected