ivxxdegen commited on
Commit
2ba4536
·
verified ·
1 Parent(s): d14acc9

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +9 -30
config.json CHANGED
@@ -1,33 +1,12 @@
1
  {
2
  "_name_or_path": "microsoft/phi-4",
3
- "architectures": [
4
- "Phi3ForCausalLM"
5
- ],
6
- "attention_bias": false,
7
- "attention_dropout": 0.0,
8
- "auto_map": {},
9
- "bos_token_id": 100257,
10
- "embd_pdrop": 0.0,
11
- "eos_token_id": 100257,
12
- "hidden_act": "silu",
13
- "hidden_size": 5120,
14
- "initializer_range": 0.02,
15
- "intermediate_size": 17920,
16
- "max_position_embeddings": 16384,
17
- "model_type": "phi3",
18
- "num_attention_heads": 40,
19
- "num_hidden_layers": 40,
20
- "num_key_value_heads": 10,
21
- "original_max_position_embeddings": 16384,
22
- "pad_token_id": 100257,
23
- "resid_pdrop": 0.0,
24
- "rms_norm_eps": 1e-05,
25
- "rope_scaling": null,
26
- "rope_theta": 250000,
27
- "sliding_window": null,
28
- "tie_word_embeddings": false,
29
- "torch_dtype": "float32",
30
- "transformers_version": "4.48.2",
31
- "use_cache": true,
32
- "vocab_size": 100352
33
  }
 
1
  {
2
  "_name_or_path": "microsoft/phi-4",
3
+ "architectures": ["AutoModelForCausalLM"],
4
+ "model_type": "causal_lm",
5
+ "num_hidden_layers": 32,
6
+ "num_attention_heads": 16,
7
+ "num_key_value_heads": 8,
8
+ "hidden_size": 4096,
9
+ "vocab_size": 50257,
10
+ "torch_dtype": "bfloat16",
11
+ "tie_word_embeddings": false
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  }