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 737 分享 版权
1 条回答
写回答
取消 提交回答
  • 推荐回答

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

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

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

热门讨论

热门文章

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