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
|
@@ -41,7 +41,7 @@
|
|
| 41 |
"original_max_position_embeddings": 4096,
|
| 42 |
"beta_slow": 1.0,
|
| 43 |
"beta_fast": 64.0,
|
| 44 |
-
"attention_factor": 1.
|
| 45 |
"partial_rotary_factor": 1.0
|
| 46 |
}
|
| 47 |
},
|
|
@@ -523,4 +523,4 @@
|
|
| 523 |
],
|
| 524 |
"decoder_sparse_step": 1,
|
| 525 |
"sliding_window": 0
|
| 526 |
-
}
|
|
|
|
| 41 |
"original_max_position_embeddings": 4096,
|
| 42 |
"beta_slow": 1.0,
|
| 43 |
"beta_fast": 64.0,
|
| 44 |
+
"attention_factor": 1.4158883083359672,
|
| 45 |
"partial_rotary_factor": 1.0
|
| 46 |
}
|
| 47 |
},
|
|
|
|
| 523 |
],
|
| 524 |
"decoder_sparse_step": 1,
|
| 525 |
"sliding_window": 0
|
| 526 |
+
}
|