MCPcopy Create free account
hub / github.com/InternScience/SciReason / xsum_postprocess

Function xsum_postprocess

opencompass/models/claude_api/postprocessors.py:114–117  ·  view source on GitHub ↗
(text: str)

Source from the content-addressed store, hash-verified

112
113
114def xsum_postprocess(text: str) -> str:
115 if text.startswith('Here'):
116 text = '\n\n'.join(text.split('\n\n')[1:])
117 return Xsum_postprocess(text)
118
119
120def yes_no_postprocess(text: str) -> str:

Callers

nothing calls this directly

Calls 1

Xsum_postprocessFunction · 0.90

Tested by

no test coverage detected