Skip to content

Commit

Permalink
Set Gemma2 lm_head optional instead of aliasing to embed_tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
cg123 committed Aug 23, 2024
1 parent f086664 commit d536702
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions mergekit/_data/architectures/gemma2.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@
{
"name": "lm_head.weight",
"is_embed": true,
"aliases": [
"model.embed_tokens.weight"
]
"optional": true
}
]
}

0 comments on commit d536702

Please sign in to comment.