Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenSparseLLMs/MoM
/ _normalize_answer
Method
_normalize_answer
lm-eval-harness/lm_eval/tasks/scrolls/task.py:351–352 ·
view source on GitHub ↗
(text)
Source
from the content-addressed store, hash-verified
349
350
@staticmethod
351
def
_normalize_answer(text):
352
return
" "
.join(text.split()).strip()
353
354
def
_process_doc(self, doc):
355
doc = _process_doc_prepended_question(doc)
Callers
1
_process_doc
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected