Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenBitSys/BitDistiller
/ doc_to_target
Method
doc_to_target
test/general/lm_eval/tasks/pawsx.py:86–87 ·
view source on GitHub ↗
(self, doc)
Source
from the content-addressed store, hash-verified
84
)
85
86
def
doc_to_target(self, doc):
87
return
" "
+ [self.YES, self.NO][doc[
"label"
]]
88
89
def
doc_to_fewshot_prompt(self, doc):
90
Callers
1
doc_to_fewshot_prompt
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected