欢迎使用MindFormers
特性
开发实践
模型
任务
API
FAQ
mindformers.core.metric.
PerplexityMetric
Compute the loss and PPL of each entity
clear
Clearing the internal evaluation result.
eval
Compute final result
update
Update results for every batch