zhengr commited on
Commit
4e6143b
1 Parent(s): 48b93dc

fix the bug : RuntimeError: mat1 and mat2 shapes cannot be multiplied

Browse files

fix the bug : RuntimeError: mat1 and mat2 shapes cannot be multiplied - Llama-2-13b-chat-hf, please check below notes

https://github.com/huggingface/transformers/issues/249614.30.1
https://huggingface.co/meta-llama/Llama-2-13b-chat-hf/commit/3a989db99aa8d9ef4cfd55f87521fc4c04891d3d

Files changed (1) hide show
  1. config.json +1 -1
config.json CHANGED
@@ -15,7 +15,7 @@
15
  "num_hidden_layers": 40,
16
  "num_key_value_heads": 40,
17
  "pad_token_id": 0,
18
- "pretraining_tp": 2,
19
  "rms_norm_eps": 1e-05,
20
  "rope_scaling": null,
21
  "tie_word_embeddings": false,
 
15
  "num_hidden_layers": 40,
16
  "num_key_value_heads": 40,
17
  "pad_token_id": 0,
18
+ "pretraining_tp": 1,
19
  "rms_norm_eps": 1e-05,
20
  "rope_scaling": null,
21
  "tie_word_embeddings": false,