File size: 392 Bytes
2790a7b
 
6563183
2790a7b
 
 
6563183
2790a7b
 
 
6563183
2790a7b
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
test_cases = [
    {
        "predictions": ["Hi.", "I'm sorry to hear that", "I don't know"],
        "result": {"metric_score": 0}
    },
    {
        "predictions": ["Hi.", "I'm sorry to hear that", "I don't know"],
        "result": {"metric_score": 1}
    },
    {
        "predictions": ["Hi.", "I'm sorry to hear that", "I don't know"],
        "result": {"metric_score": 0.5}
    }
]