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

Method _process_doc

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

Source from the content-addressed store, hash-verified

425 DATASET_NAME = "qmsum"
426
427 def _process_doc(self, doc):
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:"

Callers 3

training_docsMethod · 0.45
validation_docsMethod · 0.45
_get_prune_textMethod · 0.45

Calls 1

Tested by

no test coverage detected