brian920128's picture
fix formula
ec79cc9
import evaluate
from evaluate.utils import launch_gradio_widget
module = evaluate.load("brian920128/doc_retrieve_metrics")
result = module.compute(references=[["e", ""]], predictions=[["e", "", "ccc"]])
print(result)
#launch_gradio_widget(module)