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

Method doc_to_text

test/general/lm_eval/tasks/drop.py:114–115  ·  view source on GitHub ↗
(self, doc)

Source from the content-addressed store, hash-verified

112 )
113
114 def doc_to_text(self, doc):
115 return f"Passage: {doc['passage']}\nQuestion: {doc['question']}\nAnswer:"
116
117 def should_decontaminate(self):
118 return True

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected