File size: 300 Bytes
83cb3c8
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
import evaluate
from evaluate.utils import launch_gradio_widget

module = evaluate.load("yuyijiong/quad_match_score")
launch_gradio_widget(module)

# predictions=["a | b | c | pos"]
# references=["a | b | c | pos & e | f | g | neg"]
#
# module.compute(predictions=predictions, references=references)