MCPcopy Create free account
hub / github.com/Alpha-VLLM/LLaMA2-Accessory / fix_indents

Function fix_indents

light-eval/src/eval_humaneval.py:99–100  ·  view source on GitHub ↗
(text: str)

Source from the content-addressed store, hash-verified

97 return completion.split("\n\n")[0]
98
99def fix_indents(text: str) -> str:
100 return text.replace("\t", " ")
101
102def split_batch(samples: list[str], size=4):
103 mini_batches = []

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected