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

Function cn_string

opencompass/datasets/subjective/corev2.py:188–192  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

186
187
188def cn_string(s):
189 import re
190 if re.search(u'[\u4e00-\u9fff]', s):
191 return True
192 return False
193
194
195def build_prompt_cn(item, prompt, ics):

Callers 1

build_promptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected