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

Method doc_to_text

test/general/lm_eval/tasks/asdiv.py:65–67  ·  view source on GitHub ↗
(self, doc)

Source from the content-addressed store, hash-verified

63 )
64
65 def doc_to_text(self, doc):
66 # TODO: add solution-type
67 return doc["body"] + "\n" + "Question:" + doc["question"] + "\n" + "Answer:"
68
69 def should_decontaminate(self):
70 return True

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected