开发者社区 > ModelScope模型即服务 > 自然语言处理 > 正文

NER系列模型支持模型导出吗?

已解决

根据官方文档( https://modelscope.cn/docs/%E6%A8%A1%E5%9E%8B%E7%9A%84%E5%AF%BC%E5%87%BA#%E5%AF%BC%E5%87%BA%E4%B8%BAONNX%E6%A0%BC%E5%BC%8F ) 导出onnx格式的时候报错: output_files = Exporter.from_model(model).export_onnx( output_dir='/tmp') 2023-02-01 15:37:15,944 - modelscope - WARNING - ('EXPORTERS', 'named-entity-recognition', 'transformer-crf') not found in ast index file

KeyError: 'transformer-crf is not in the exporters registry group named-entity-recognition. Please make sure the correct version of ModelScope library is used.'

展开
收起
wallowlip 2023-02-24 10:17:44 686 0
1 条回答
写回答
取消 提交回答
  • 推荐回答

    您好,目前NER系列模型还不支持模型导出,可以先使用pipeline方式进行模型推理。

    2023-02-24 10:37:20
    赞同 展开评论 打赏

包含命名实体识别、文本分类、分词、关系抽取、问答、推理、文本摘要、情感分析、机器翻译等多个领域

热门讨论

热门文章

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载