Skip to content
Snippets Groups Projects
Commit a5396e28 authored by Hsien-Chin Lin's avatar Hsien-Chin Lin
Browse files

wip

parent 121692e3
No related branches found
No related tags found
No related merge requests found
...@@ -135,7 +135,7 @@ class Evaluator: ...@@ -135,7 +135,7 @@ class Evaluator:
else: else:
print("Calculate SER") print("Calculate SER")
missing, hallucinate, total, hallucination_dialogs, missing_dialogs = fine_SER( missing, hallucinate, total, hallucination_dialogs, missing_dialogs = fine_SER(
nlg_eval["dialog"]["gen_acts"], nlg_eval["dialog"]["gen_utts"]) gen_r["gen_acts"], gen_r["gen_utts"])
print("{} Missing acts: {}, Total acts: {}, Hallucinations {}, SER {}".format( print("{} Missing acts: {}, Total acts: {}, Hallucinations {}, SER {}".format(
"genTUSNLG", missing, total, hallucinate, missing/total)) "genTUSNLG", missing, total, hallucinate, missing/total))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment