Skip to content

🔴 🔴 fix query_pre_attn_scalar different of num_heads in default gemma2 config#34540

Merged
molbap merged 8 commits intomainfrom
small_default_gemma2_fix
Nov 1, 2024
Merged

🔴 🔴 fix query_pre_attn_scalar different of num_heads in default gemma2 config#34540
molbap merged 8 commits intomainfrom
small_default_gemma2_fix

Conversation

@molbap
Copy link
Contributor

@molbap molbap commented Oct 31, 2024

What does this PR do?

as per title. Previous default config was a nonworking default config, new defaults are aligned with gemma2-2b-it.

@ArthurZucker

@molbap molbap requested a review from ArthurZucker October 31, 2024 15:59
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Copy link
Collaborator

@ArthurZucker ArthurZucker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, can you add some 🔴 to the PR name! as this is breaking!

@molbap molbap changed the title fix query_pre_attn_scalar different of num_heads in default gemma2 config 🔴 🔴 🔴 🔴 fix query_pre_attn_scalar different of num_heads in default gemma2 config Oct 31, 2024
@molbap molbap changed the title 🔴 🔴 🔴 🔴 fix query_pre_attn_scalar different of num_heads in default gemma2 config 🔴 🔴 fix query_pre_attn_scalar different of num_heads in default gemma2 config Oct 31, 2024
@molbap molbap merged commit 86701f2 into main Nov 1, 2024
@molbap molbap deleted the small_default_gemma2_fix branch November 1, 2024 08:06
BernardZach pushed a commit to BernardZach/transformers that referenced this pull request Dec 5, 2024
…emma2 config (huggingface#34540)

* fix query_pre_attn_scalar different of num_heads in default config

* propagate modular changes

* fix copies

* fix modular copies

* fix copies?

* correct copies fix
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

Successfully merging this pull request may close these issues.

3 participants