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

Method doc_to_target

test/general/lm_eval/tasks/wikitext.py:89–90  ·  view source on GitHub ↗
(self, doc)

Source from the content-addressed store, hash-verified

87 return doc["page"]
88
89 def doc_to_target(self, doc):
90 return wikitext_detokenizer(doc)
91
92 def should_decontaminate(self):
93 return True

Callers

nothing calls this directly

Calls 1

wikitext_detokenizerFunction · 0.85

Tested by

no test coverage detected