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

Method doc_to_text

test/general/lm_eval/tasks/scrolls.py:430–431  ·  view source on GitHub ↗
(self, doc)

Source from the content-addressed store, hash-verified

428 return [_process_doc_prepended_question(doc)]
429
430 def doc_to_text(self, doc):
431 return f"{doc['text']}\n\nQuestion: {doc['question']}\nAnswer:"
432
433
434def construct_tasks():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected