danielhanchen commited on
Commit
04947e2
·
verified ·
1 Parent(s): a4df4ee

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +30 -27
config.json CHANGED
@@ -1,29 +1,32 @@
1
  {
2
- "_name_or_path": "yuhuili/EAGLE-llama2-chat-7B",
3
- "architectures": [
4
- "LlamaForCausalLM"
5
- ],
6
- "attention_bias": false,
7
- "attention_dropout": 0.0,
8
- "bos_token_id": 1,
9
- "eos_token_id": 2,
10
- "hidden_act": "silu",
11
- "hidden_size": 4096,
12
- "initializer_range": 0.02,
13
- "intermediate_size": 11008,
14
- "max_position_embeddings": 4096,
15
- "mlp_bias": false,
16
- "model_type": "llama",
17
- "num_attention_heads": 32,
18
- "num_hidden_layers": 1,
19
- "num_key_value_heads": 32,
20
- "pretraining_tp": 1,
21
- "rms_norm_eps": 1e-06,
22
- "rope_scaling": null,
23
- "rope_theta": 10000.0,
24
- "tie_word_embeddings": false,
25
- "torch_dtype": "bfloat16",
26
- "transformers_version": "4.42.4",
27
- "use_cache": true,
28
- "vocab_size": 32000
 
 
 
29
  }
 
1
  {
2
+ "model_type": "eagle",
3
+ "model": {
4
+ "_name_or_path": "yuhuili/EAGLE-llama2-chat-7B",
5
+ "architectures": [
6
+ "LlamaForCausalLM"
7
+ ],
8
+ "attention_bias": false,
9
+ "attention_dropout": 0.0,
10
+ "bos_token_id": 1,
11
+ "eos_token_id": 2,
12
+ "hidden_act": "silu",
13
+ "hidden_size": 4096,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 11008,
16
+ "max_position_embeddings": 4096,
17
+ "mlp_bias": false,
18
+ "model_type": "llama",
19
+ "num_attention_heads": 32,
20
+ "num_hidden_layers": 1,
21
+ "num_key_value_heads": 32,
22
+ "pretraining_tp": 1,
23
+ "rms_norm_eps": 1e-06,
24
+ "rope_scaling": null,
25
+ "rope_theta": 10000.0,
26
+ "tie_word_embeddings": false,
27
+ "torch_dtype": "bfloat16",
28
+ "transformers_version": "4.42.4",
29
+ "use_cache": true,
30
+ "vocab_size": 32000
31
+ }
32
  }