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

AttributeError: 'bert' object has no attribute 'save_pretrained' #495

Closed
WangTH37 opened this issue May 20, 2024 · 1 comment
Closed

AttributeError: 'bert' object has no attribute 'save_pretrained' #495

WangTH37 opened this issue May 20, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@WangTH37
Copy link

使用softmaskedbert4csc模型进行训练后保存文件报错,model中没有bert

@WangTH37 WangTH37 added the bug Something isn't working label May 20, 2024
@shibing624
Copy link
Owner

看下教程,可以保存为ckpt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants