william590y commited on
Commit
54477e7
·
verified ·
1 Parent(s): 5d93288

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +28 -28
config.json CHANGED
@@ -1,28 +1,28 @@
1
- {
2
- "_attn_implementation_autoset": true,
3
- "_name_or_path": "mistralai/Mistral-7B-Instruct-v0.2",
4
- "architectures": [
5
- "MistralForCausalLM"
6
- ],
7
- "attention_dropout": 0.0,
8
- "bos_token_id": 1,
9
- "eos_token_id": 2,
10
- "head_dim": 128,
11
- "hidden_act": "silu",
12
- "hidden_size": 4096,
13
- "initializer_range": 0.02,
14
- "intermediate_size": 14336,
15
- "max_position_embeddings": 32768,
16
- "model_type": "mistral",
17
- "num_attention_heads": 32,
18
- "num_hidden_layers": 32,
19
- "num_key_value_heads": 8,
20
- "rms_norm_eps": 1e-05,
21
- "rope_theta": 1000000.0,
22
- "sliding_window": null,
23
- "tie_word_embeddings": false,
24
- "torch_dtype": "float16",
25
- "transformers_version": "4.47.0",
26
- "use_cache": true,
27
- "vocab_size": 32000
28
- }
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "mistralai/Mistral-7B-Instruct-v0.2",
4
+ "architectures": [
5
+ "MistralForCausalLM"
6
+ ],
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 1,
9
+ "eos_token_id": 2,
10
+ "head_dim": 128,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 4096,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 14336,
15
+ "max_position_embeddings": 32768,
16
+ "model_type": "llama", // Changed from "mistral" to "llama"
17
+ "num_attention_heads": 32,
18
+ "num_hidden_layers": 32,
19
+ "num_key_value_heads": 8,
20
+ "rms_norm_eps": 1e-05,
21
+ "rope_theta": 1000000.0,
22
+ "sliding_window": null,
23
+ "tie_word_embeddings": false,
24
+ "torch_dtype": "float16",
25
+ "transformers_version": "4.47.0",
26
+ "use_cache": true,
27
+ "vocab_size": 32000
28
+ }