Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/hkust-nlp/ceval
/ exact_match
Method
exact_match
code/evaluator_series/evaluators/evaluator.py:46–47 ·
view source on GitHub ↗
(self,pred, target)
Source
from the content-addressed store, hash-verified
44
return
white_space_fix(remove_punc(lower(s)))
45
46
def
exact_match(self,pred, target):
47
return
self.normalize_answer(pred)==self.normalize_answer(target)
Callers
2
eval_subject
Method · 0.80
eval_subject
Method · 0.80
Calls
1
normalize_answer
Method · 0.95
Tested by
no test coverage detected