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

Method _process_doc

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

Source from the content-addressed store, hash-verified

84 return map(self._process_doc, self.dataset["test"])
85
86 def _process_doc(self, doc):
87 return doc["page"]
88
89 def doc_to_target(self, doc):
90 return wikitext_detokenizer(doc)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected