modelscope中提示不支持,怎么解决?

"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.'"

展开
收起
小小爱吃香菜 2024-06-19 08:24:51 87 分享 版权
1 条回答
写回答
取消 提交回答
  • "参考以下代码 from modelscope.metainfo import Metrics
    cfg['evaluation']['metrics'] = Metrics.text_ranking_metric 此回答整理自钉群“魔搭ModelScope开发者联盟群 ①”"

    2024-06-19 08:34:30
    赞同 3 展开评论

ModelScope旨在打造下一代开源的模型即服务共享平台,为泛AI开发者提供灵活、易用、低成本的一站式模型服务产品,让模型应用更简单!欢迎加入技术交流群:微信公众号:魔搭ModelScope社区,钉钉群号:44837352

热门讨论

热门文章

还有其他疑问?
咨询AI助理