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

Method doc_to_text

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

Source from the content-addressed store, hash-verified

55 return self.dataset["test"]
56
57 def doc_to_text(self, doc):
58 return (
59 f"{doc['sentence']}\nQuestion: {doc['question']}\n"
60 f"Answer: {doc['answer']}\nPlausible:"
61 )
62
63 def should_decontaminate(self):
64 return True

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected