File size: 225 Bytes
42090ad
 
898eb24
 
 
42090ad
898eb24
1
2
3
4
5
6
7
8
test_cases = [
    {
        "predictions": ["New York City", "Albert Einstein"],
        "references": [["New York City", "NYC"], ["Einstein", "Albert Einstein"]],
        "result": {"exact_match": 1.0, "f1": 1.0},
    },
]