TimeRobber commited on
Commit
47ea478
·
1 Parent(s): f1ca006

Fix regression

Browse files

Mixtral doesn't use sliding window attention. We force set it to null since the default in transformers is 4k.
I think the regression came from https://huggingface.co/mistralai/Mixtral-8x7B-Instruct-v0.1/commit/858fdc292793fc3e671bf51fc5586c5cc10fbe3a .

@ybelkada
did you use a specific script to update the PR? If so I think you need to update that script so that the default write "null".

Files changed (1) hide show
  1. config.json +1 -1
config.json CHANGED
@@ -20,7 +20,7 @@
20
  "rms_norm_eps": 1e-05,
21
  "rope_theta": 1000000.0,
22
  "router_aux_loss_coef": 0.02,
23
- "sliding_window": 4096,
24
  "tie_word_embeddings": false,
25
  "torch_dtype": "bfloat16",
26
  "transformers_version": "4.36.0.dev0",
 
20
  "rms_norm_eps": 1e-05,
21
  "rope_theta": 1000000.0,
22
  "router_aux_loss_coef": 0.02,
23
+ "sliding_window": null,
24
  "tie_word_embeddings": false,
25
  "torch_dtype": "bfloat16",
26
  "transformers_version": "4.36.0.dev0",