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

Method _get_prune_text

test/general/lm_eval/tasks/scrolls.py:171–172  ·  view source on GitHub ↗
(self, sample)

Source from the content-addressed store, hash-verified

169 self.prune()
170
171 def _get_prune_text(self, sample):
172 return self.doc_to_text(self._process_doc(sample)[0])
173
174 def prune(self):
175 """Create a pruned version of a SCROLLS task dataset containing only inputs

Callers 1

_filterMethod · 0.95

Calls 2

doc_to_textMethod · 0.95
_process_docMethod · 0.45

Tested by

no test coverage detected