support UniEval and add CHRF metric (#3924)

Co-authored-by: Yuanchen Xu <yuanchen.xu00@gmail.com>
This commit is contained in:
Yuanchen
2023-06-08 17:38:47 +08:00
committed by GitHub
parent 33eef714db
commit 21c4c0b1a0
12 changed files with 978 additions and 61 deletions

View File

@@ -199,7 +199,7 @@ def analyze_automatic_results(results_path: str, save_path: str) -> None:
for metric in tqdm.tqdm(
frame_per_metric.keys(),
desc=f"metric: ",
desc=f"automatic metrics: ",
total=len(frame_per_metric.keys()),
):
data = pd.DataFrame(frame_per_metric[metric])