fix(rope): YaRN attention_factor is (0.1*ln(factor)+1)*attn_factor, not the bare multiplier
Browse files- config.json +2 -2
config.json
CHANGED
|
@@ -49,7 +49,7 @@
|
|
| 49 |
"original_max_position_embeddings": 4096,
|
| 50 |
"beta_slow": 1.0,
|
| 51 |
"beta_fast": 64.0,
|
| 52 |
-
"attention_factor": 1.
|
| 53 |
"partial_rotary_factor": 1.0
|
| 54 |
}
|
| 55 |
},
|
|
@@ -199,4 +199,4 @@
|
|
| 199 |
"per_element"
|
| 200 |
],
|
| 201 |
"moe_routed_scaling_factor": 1.0
|
| 202 |
-
}
|
|
|
|
| 49 |
"original_max_position_embeddings": 4096,
|
| 50 |
"beta_slow": 1.0,
|
| 51 |
"beta_fast": 64.0,
|
| 52 |
+
"attention_factor": 1.4158883083359672,
|
| 53 |
"partial_rotary_factor": 1.0
|
| 54 |
}
|
| 55 |
},
|
|
|
|
| 199 |
"per_element"
|
| 200 |
],
|
| 201 |
"moe_routed_scaling_factor": 1.0
|
| 202 |
+
}
|