Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ymcui/Chinese-LLaMA-Alpaca-2
/ lower
Function
lower
scripts/longbench/metrics.py:25–26 ·
view source on GitHub ↗
(text)
Source
from the content-addressed store, hash-verified
23
return
""
.join(ch
for
ch in text
if
ch not in exclude)
24
25
def
lower(text):
26
return
text.lower()
27
28
return
white_space_fix(remove_articles(remove_punc(lower(s))))
29
Callers
4
normalize_answer
Method · 0.85
normalize_answer
Function · 0.85
normalize_zh_answer
Function · 0.85
normalize_answer
Method · 0.85
Calls
1
lower
Method · 0.45
Tested by
no test coverage detected