Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
99
def
fix_indents(text: str) -> str:
100
return
text.replace(
"\t"
,
" "
)
101
102
def
split_batch(samples: list[str], size=4):
103
mini_batches = []
Callers
1
generate_batch_completion
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected