joerowell commited on
Commit
3eeaa69
·
verified ·
1 Parent(s): 07dd874

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
@@ -47,7 +47,7 @@
47
  "original_max_position_embeddings": 8192,
48
  "beta_slow": 1.0,
49
  "beta_fast": 32.0,
50
- "attention_factor": 1.0,
51
  "partial_rotary_factor": 0.5
52
  },
53
  "sliding_attention": {
@@ -258,4 +258,4 @@
258
  72,
259
  72
260
  ]
261
- }
 
47
  "original_max_position_embeddings": 8192,
48
  "beta_slow": 1.0,
49
  "beta_fast": 32.0,
50
+ "attention_factor": 1.3465735902799727,
51
  "partial_rotary_factor": 0.5
52
  },
53
  "sliding_attention": {
 
258
  72,
259
  72
260
  ]
261
+ }