Experimental 128k context with rope scaling

#2
Files changed (1) hide show
  1. config.json +8 -2
config.json CHANGED
@@ -11,14 +11,20 @@
11
  "hidden_size": 4096,
12
  "initializer_range": 0.02,
13
  "intermediate_size": 14336,
14
- "max_position_embeddings": 65536,
15
  "model_type": "llama",
16
  "num_attention_heads": 32,
17
  "num_hidden_layers": 32,
18
  "num_key_value_heads": 8,
19
  "pretraining_tp": 1,
20
  "rms_norm_eps": 1e-05,
21
- "rope_scaling": null,
 
 
 
 
 
 
22
  "rope_theta": 1500000.0,
23
  "tie_word_embeddings": false,
24
  "torch_dtype": "bfloat16",
 
11
  "hidden_size": 4096,
12
  "initializer_range": 0.02,
13
  "intermediate_size": 14336,
14
+ "max_position_embeddings": 131072,
15
  "model_type": "llama",
16
  "num_attention_heads": 32,
17
  "num_hidden_layers": 32,
18
  "num_key_value_heads": 8,
19
  "pretraining_tp": 1,
20
  "rms_norm_eps": 1e-05,
21
+ "rope_scaling": {
22
+ "factor": 4.0,
23
+ "low_freq_factor": 1.0,
24
+ "high_freq_factor": 4.0,
25
+ "original_max_position_embeddings": 32768,
26
+ "rope_type": "llama3"
27
+ },
28
  "rope_theta": 1500000.0,
29
  "tie_word_embeddings": false,
30
  "torch_dtype": "bfloat16",