Skip to content

Commit

Permalink
Make Cohere lm_head optional
Browse files Browse the repository at this point in the history
  • Loading branch information
cg123 committed Sep 16, 2024
1 parent 258adde commit df7c08b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions mergekit/_data/architectures/cohere.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@
{
"name": "lm_head.weight",
"is_embed": true,
"aliases": [
"model.embed_tokens.weight"
]
"optional": true
}
],
"num_layers_config_key": "num_hidden_layers",
Expand Down

0 comments on commit df7c08b

Please sign in to comment.