Open
Description
I see the accuracy reward only can check the numerical equal? But what if my question is MCQ and asking an option?
I did a quick check and find it's not working.
from math_verify import parse, verify
# Parse the gold and answer
# If you know that gold will only contain latex or expr (no latex env), use
# parse(gold, extraction_config=[LatexExtractionConfig()]) or parse(gold, extraction_config=[ExprExtractionConfig()])
gold = parse("So the answer is B")
answer = parse("B")
print(gold)
print(answer)
# Order here is important!
print(verify(gold, answer))
[]
[]
False
Metadata
Metadata
Assignees
Labels
No labels