-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] #12
Comments
感谢提问。单纯的推理功能正在开发,预计半个月到一个月,目前有 test 功能。 这个文件是 |
谢谢您的回答!!!不过在我训练脚本完成后,模型保存的文件是best_model.pth,请问修改哪里可以将模型的保存结果保存为modelscope的中模型格式(含有这些:config.json configuration.json pytorch_model.bin README.md resources vocab.txt) |
|
我在使用这个推理的时候,遇到了ValueError: unknown url type: 'adaseq-0.6.6-py3-none-any.whl.metadata' from modelscope.pipelines import pipeline p = pipeline(Tasks.named_entity_recognition, '/data3/huyan/liheng/tmp/AdaSeq/AdaSeq/experiments/eBay/231125005305.028950/output_best') print(result) 报错如下 但实际上我已经成功安装了 adaseq == 0.6.6 |
可以清空/data3/huyan/liheng/tmp/AdaSeq/AdaSeq/experiments/eBay/231125005305.028950/output_best/configuration.json最底下plugin的list中的内容,变成空list。但是运行可能还有其他问题。 |
What is your question?
如何推理?
What have you tried?
训练模型之后自动就有了pred.txt,请问这个文件是在哪里生成的?
Code (if necessary)
No response
What's your environment?
Code of Conduct
The text was updated successfully, but these errors were encountered: