joerowell commited on
Commit
3732a65
·
verified ·
1 Parent(s): 2cd4c58

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
  },
@@ -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
+ }