Code Monkey home page Code Monkey logo

Comments (7)

cuberJ avatar cuberJ commented on May 27, 2024 1

不好意思,我没太理解您的意思。能否再向您请教一下:

  1. 您说的这个模型地址出错,是指pipeline中的调用出现错误了吗?
  2. 这种错误是发生在训练的过程中,还是在执行预测的过程中产生的呢?
  3. 如果是训练的过程中出现的问题,需要修改的是yaml配置文件,还是源码本身呢

from adaseq.

cuberJ avatar cuberJ commented on May 27, 2024 1

补充一下:
我目前调用的任务是做named_entity_recognition, 但是在调试追踪的时候发现,pipeline里总是会调用到text_classification的步骤,用作者官方提供的训练配置训练后,也会出现这种错误的调用链

from adaseq.

tianchiguaixia avatar tianchiguaixia commented on May 27, 2024

还有paddlenlp里面的taskflow也是,超出512也会返回大于512以后的位置。希望可以修改一下后处理代码

from adaseq.

cuberJ avatar cuberJ commented on May 27, 2024

请问一下,训练好的模型在用这个方法调用的时候,一直出现如下报错:
KeyError: "SequenceLabelingPipeline: 'text-classification is not in the models registry group token-classification. Please make sure the correct version of ModelScope library is used.'"
以及
KeyError: 'text-classification is not in the models registry group token-classification. Please make sure the correct version of ModelScope library is used.'
我目前使用的modelscope是1.9.2,一直没搞懂错在哪里,请问你有遇到过类似的报错吗

from adaseq.

tianchiguaixia avatar tianchiguaixia commented on May 27, 2024

模型地址传错了

from adaseq.

tianchiguaixia avatar tianchiguaixia commented on May 27, 2024

你看官方的,你的可能老版本,传参问题

from adaseq.

TianyiLu avatar TianyiLu commented on May 27, 2024

也是NER任务,自己微调后,遇到了与三楼同样的问题
KeyError: "SequenceLabelingPipeline: 'text-classification is not in the models registry group token-classification. Please make sure the correct version of ModelScope library is used.'"

我的modelscope版本是1.9.3

from adaseq.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.