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

'GenerationConfig' object has no attribute 'alignment_heads' #1564

Closed
takenori-y opened this issue Nov 27, 2023 · 3 comments
Closed

'GenerationConfig' object has no attribute 'alignment_heads' #1564

takenori-y opened this issue Nov 27, 2023 · 3 comments

Comments

@takenori-y
Copy link

GenerationConfig does not seem to have an alignment_heads parameter.

Is this line correct?

config.alignment_heads = gen_config.alignment_heads

The problem is from #1546.

@vince62s
Copy link
Member

@flyingleafe @funboarder13920 please check.

@ben-8878
Copy link

GenerationConfig does not seem to have an alignment_heads parameter.

Is this line correct?

config.alignment_heads = gen_config.alignment_heads

The problem is from #1546.

met same problem with latest transformers (version==4.35.2)

@minhthuc2502
Copy link
Collaborator

I just push a MR to solve this problem #1565 .

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

4 participants