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

Method _normalize_answer

test/general/lm_eval/tasks/scrolls.py:333–334  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

331
332 @staticmethod
333 def _normalize_answer(text):
334 return " ".join(text.split()).strip()
335
336 def _process_doc(self, doc):
337 doc = _process_doc_prepended_question(doc)

Callers 1

_process_docMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected