We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug/ 问题描述 (Mandatory / 必填)
Blip2Processor的init方法需要更新
根据Blip2的模型仓库,其配置文件在一个月前发生了更新,transformers在版本4.47中已同步更改,但mindnlp.transformers还未更新,具体为配置文件processor_config.json中的num_query_tokens参数
MindNLP中对应代码为:
Transformers4.47.1中对应代码为:
复现方法为:
from mindnlp.transformers import Blip2Processor processor = Blip2Processor.from_pretrained('/data/zhangyx/liuzp/blip2/blip2-opt-2.7b')
报错信息为:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug/ 问题描述 (Mandatory / 必填)
Blip2Processor的init方法需要更新
根据Blip2的模型仓库,其配置文件在一个月前发生了更新,transformers在版本4.47中已同步更改,但mindnlp.transformers还未更新,具体为配置文件processor_config.json中的num_query_tokens参数
MindNLP中对应代码为:
Transformers4.47.1中对应代码为:
复现方法为:
报错信息为:
The text was updated successfully, but these errors were encountered: