Skip to content

Commit

Permalink
Make Cohere lm_head optional (#417)
Browse files Browse the repository at this point in the history
  • Loading branch information
cg123 authored Sep 16, 2024
1 parent a5a597f commit c891a09
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 c891a09

Please sign in to comment.