beer / tests.py
Manuel de Prada
beer metric
80dcff0
test_cases = [
{
"predictions": [
"It is a guide to action which ensures that the military always obeys the commands of the party",
"hello there general kenobi"],
"references": ["It is a guide to action that ensures that the military will forever heed Party commands",
"hello general kenobi"],
"result": {'beer': 0.4557488704361114, 'beer_scores': [0.6380935618609037, 0.7291530494474304]}
},
]