MCPcopy Create free account
hub / github.com/OpenBMB/AgentCPM-GUI / verify

Function verify

eval/grounding_eval/code/UI-TARS/bbox2text_eval_uitars.py:91–98  ·  view source on GitHub ↗

接受模型的字符串输入,判断是否正确

(response, ground_truth)

Source from the content-addressed store, hash-verified

89 return response.strip("\n").replace(" ","")
90
91async def verify(response, ground_truth):
92 """
93 接受模型的字符串输入,判断是否正确
94 """
95 if response == ground_truth:
96 return 1
97 else:
98 return 0
99
100async def process_item_async(item, client, model_name, semaphore):
101 async with semaphore:

Callers 1

process_item_asyncFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected