Add rope_scaling to config.json so that trust_remote_code=True is not required for RoPE
Browse files- config.json +4 -1
config.json
CHANGED
@@ -17,7 +17,10 @@
|
|
17 |
"num_key_value_heads": 52,
|
18 |
"pad_token_id": -1,
|
19 |
"rms_norm_eps": 1e-06,
|
20 |
-
"rope_scaling":
|
|
|
|
|
|
|
21 |
"tie_word_embeddings": false,
|
22 |
"torch_dtype": "bfloat16",
|
23 |
"transformers_version": "4.31.0",
|
|
|
17 |
"num_key_value_heads": 52,
|
18 |
"pad_token_id": -1,
|
19 |
"rms_norm_eps": 1e-06,
|
20 |
+
"rope_scaling": {
|
21 |
+
"factor": 2.0,
|
22 |
+
"type": "linear"
|
23 |
+
},
|
24 |
"tie_word_embeddings": false,
|
25 |
"torch_dtype": "bfloat16",
|
26 |
"transformers_version": "4.31.0",
|