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

Method doc_to_text

test/general/lm_eval/tasks/webqs.py:56–57  ·  view source on GitHub ↗
(self, doc)

Source from the content-addressed store, hash-verified

54 return self.dataset["test"]
55
56 def doc_to_text(self, doc):
57 return "Question: " + doc["question"] + "\nAnswer:"
58
59 def should_decontaminate(self):
60 return True

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected