adowu commited on
Commit
1a1c0b8
1 Parent(s): b28dd15

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +9 -9
config.json CHANGED
@@ -7,21 +7,21 @@
7
  "bos_token_id": 1,
8
  "eos_token_id": 2,
9
  "hidden_act": "silu",
10
- "hidden_size": 4096, // Adjusted to match the checkpoint's expected size
11
  "initializer_range": 0.02,
12
- "intermediate_size": 16384, // Adjusted, assuming the checkpoint expects larger intermediate sizes
13
- "max_position_embeddings": 128000, // Kept as is, assuming no mismatch here
14
  "model_type": "mistral",
15
- "num_attention_heads": 16, // Adjusted based on typical configurations for this hidden_size; may need to match checkpoint
16
- "num_hidden_layers": 16, // Assuming no mismatch here, kept as is
17
- "num_key_value_heads": 8, // This typically doesn't need to change, but ensure it matches the checkpoint if specified
18
  "pad_token_id": 2,
19
  "rms_norm_eps": 1e-05,
20
  "rope_theta": 10000.0,
21
- "sliding_window": 4096, // Kept as is, assuming no mismatch here
22
  "tie_word_embeddings": false,
23
- "torch_dtype": "bfloat16", // Suitable for models running on TPUs or requiring reduced precision for speed
24
  "transformers_version": "4.39.3",
25
  "use_cache": true,
26
- "vocab_size": 32002 // Assuming no mismatch here, kept as is
27
  }
 
7
  "bos_token_id": 1,
8
  "eos_token_id": 2,
9
  "hidden_act": "silu",
10
+ "hidden_size": 4096,
11
  "initializer_range": 0.02,
12
+ "intermediate_size": 16384,
13
+ "max_position_embeddings": 128000,
14
  "model_type": "mistral",
15
+ "num_attention_heads": 16,
16
+ "num_hidden_layers": 16,
17
+ "num_key_value_heads": 8,
18
  "pad_token_id": 2,
19
  "rms_norm_eps": 1e-05,
20
  "rope_theta": 10000.0,
21
+ "sliding_window": 4096,
22
  "tie_word_embeddings": false,
23
+ "torch_dtype": "bfloat16",
24
  "transformers_version": "4.39.3",
25
  "use_cache": true,
26
+ "vocab_size": 32002
27
  }