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

model.py #43

Open
Polaris9712 opened this issue Jun 5, 2024 · 0 comments
Open

model.py #43

Polaris9712 opened this issue Jun 5, 2024 · 0 comments

Comments

@Polaris9712
Copy link

为适应新版本,将model.py中from transformers.modeling_gpt2 import GPT2PreTrainedModel, GPT2Model 替换为from transformers import GPT2PreTrainedModel, GPT2Model 导致生成标题时无报错退出(使用分享的模型权重
eeeee

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

No branches or pull requests

1 participant