Skip to content

Commit

Permalink
Updated model config with Cohere and StarCoder2 (transformers v4.39)
Browse files Browse the repository at this point in the history
  • Loading branch information
gsarti committed Mar 21, 2024
1 parent 4e679ca commit 94d794e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions inseq/models/model_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ BloomForCausalLM:
CodeGenForCausalLM:
self_attention_module: "attn"
value_vector: "value"
CohereForCausalLM:
self_attention_module: "self_attn"
value_vector: "value_states"
FalconForCausalLM:
self_attention_module: "self_attention"
value_vector: "value_layer"
Expand Down Expand Up @@ -56,6 +59,9 @@ Qwen2ForCausalLM:
StableLmForCausalLM:
self_attention_module: "self_attn"
value_vector: "value_states"
StarCoder2ForCausalLM:
self_attention_module: "self_attn"
value_vector: "value_states"
XGLMForCausalLM:
self_attention_module: "self_attn"
value_vector: "value_states"
Expand Down

0 comments on commit 94d794e

Please sign in to comment.