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

Method doc_to_text

test/general/lm_eval/tasks/lambada.py:46–47  ·  view source on GitHub ↗
(self, doc)

Source from the content-addressed store, hash-verified

44 return self.dataset["test"]
45
46 def doc_to_text(self, doc):
47 return doc["text"].rsplit(" ", 1)[0]
48
49 def should_decontaminate(self):
50 return True

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected