Skip to content
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]:多个预训练模型无法下载 #10042

Open
Briskyu opened this issue Mar 8, 2025 · 1 comment
Open

[Question]:多个预训练模型无法下载 #10042

Briskyu opened this issue Mar 8, 2025 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@Briskyu
Copy link

Briskyu commented Mar 8, 2025

请提出你的问题

使用AutoModelForSequenceClassification.from_pretrained()方法加载预训练模型进行文本分类任务时,出现多个模型无法下载的情况,例如macbert-large-chinese、hfl/roberta-wwm-ext、albert-chinese-base等。所报错误描述均为:OSError: Can't load the model for '预训练模型名称'. If you were trying to load it from 'https://paddlenlp.bj.bcebos.com'

开发环境:
paddlenlp 2.7.0
paddlepaddle-gpu 2.6.2

请问是什么原因,谢谢!

@Briskyu Briskyu added the question Further information is requested label Mar 8, 2025
@Briskyu Briskyu changed the title [Question]: [Question]:多个预训练模型无法下载 Mar 8, 2025
@Briskyu
Copy link
Author

Briskyu commented Mar 8, 2025

更新:
开发环境改为下述版本:
paddlenlp 3.0.0b4.post20250308
paddlepaddle-gpu 3.0.0.dev20250305

下载macbert-large-chinese时出现错误为:
OSError: Does not appear one of the ['https://bj.bcebos.com/paddlenlp/models/transformers/macbert/macbert-large-chinese.pdparams'] in macbert-large-chinese.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants