Update perplexity, inherited from Metric (#4995)
* update ppl, inherited from Metric, suitable for common mt and lm task. * fix ppl bugs, delete useless argument * fix ppl bugs, return a num not a numpy array.
Showing
想要评论请 注册 或 登录
* update ppl, inherited from Metric, suitable for common mt and lm task. * fix ppl bugs, delete useless argument * fix ppl bugs, return a num not a numpy array.