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

Method doc_to_text

test/general/lm_eval/tasks/piqa.py:60–61  ·  view source on GitHub ↗
(self, doc)

Source from the content-addressed store, hash-verified

58 return out_doc
59
60 def doc_to_text(self, doc):
61 return "Question: " + doc["goal"] + "\nAnswer:"
62
63 def should_decontaminate(self):
64 return True

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected