Skip to content

Commit

Permalink
Set Gemma2 lm_head optional instead of aliasing to embed_tokens (#406)
Browse files Browse the repository at this point in the history
Resolves #385.
  • Loading branch information
cg123 authored Aug 23, 2024
1 parent f17616f commit 36738ff
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 36738ff

Please sign in to comment.