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

有关ProphetNetForConditionalGeneration部分出错请教 #73

Open
bingfeiz opened this issue Jul 30, 2023 · 2 comments
Open

有关ProphetNetForConditionalGeneration部分出错请教 #73

bingfeiz opened this issue Jul 30, 2023 · 2 comments

Comments

@bingfeiz
Copy link

在使用model_type = prophet时,出现AttributeError: 'ProphetNetModel' object has no attribute 'post_init',我想问一下需要将代码种的self.post_init()注释吗,还是有什么其他的解决办法。期待您的回答。

@bingfeiz
Copy link
Author

可以的话,我想知道您具体的transformers的版本

@renmada
Copy link
Owner

renmada commented Aug 2, 2023

升级到最新版本试试

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

2 participants