joerowell commited on
Commit
e4f3ba8
·
verified ·
1 Parent(s): 6dd37d0

fix(rope): YaRN attention_factor is (0.1*ln(factor)+1)*attn_factor, not the bare multiplier

Browse files
Files changed (1) hide show
  1. 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.0,
45
  "partial_rotary_factor": 1.0
46
  }
47
  },
@@ -202,4 +202,4 @@
202
  "decoder_sparse_step": 1,
203
  "norm_topk_prob": true,
204
  "sliding_window": 0
205
- }
 
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
  },
 
202
  "decoder_sparse_step": 1,
203
  "norm_topk_prob": true,
204
  "sliding_window": 0
205
+ }