"cfg['evaluation']['metrics'] = ""mrr@1"", modelscope中提示不支持,怎么解决? f'{obj_type} is not in the {registry.name}'
KeyError: 'mrr@1 is not in the metrics registry group default. Please make sure the correct version of ModelScope library is used.'"
"参考以下代码 from modelscope.metainfo import Metrics
cfg['evaluation']['metrics'] = Metrics.text_ranking_metric 此回答整理自钉群“魔搭ModelScope开发者联盟群 ①”"
ModelScope旨在打造下一代开源的模型即服务共享平台,为泛AI开发者提供灵活、易用、低成本的一站式模型服务产品,让模型应用更简单!欢迎加入技术交流群:微信公众号:魔搭ModelScope社区,钉钉群号:44837352