if001 commited on
Commit
a27c66f
1 Parent(s): 42d694e

Upload MixtralForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +30 -0
  2. generation_config.json +7 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "MixtralForCausalLM"
4
+ ],
5
+ "attention_dropout": 0.0,
6
+ "bos_token_id": 1,
7
+ "eos_token_id": 2,
8
+ "hidden_act": "silu",
9
+ "hidden_size": 640,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 2400,
12
+ "max_position_embeddings": 4096,
13
+ "model_type": "mixtral",
14
+ "num_attention_heads": 8,
15
+ "num_experts_per_tok": 2,
16
+ "num_hidden_layers": 8,
17
+ "num_key_value_heads": 4,
18
+ "num_local_experts": 6,
19
+ "output_router_logits": true,
20
+ "pad_token_id": 4,
21
+ "rms_norm_eps": 1e-05,
22
+ "rope_theta": 1000000.0,
23
+ "router_aux_loss_coef": 0.001,
24
+ "sliding_window": null,
25
+ "tie_word_embeddings": false,
26
+ "torch_dtype": "float32",
27
+ "transformers_version": "4.37.2",
28
+ "use_cache": true,
29
+ "vocab_size": 50570
30
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "pad_token_id": 4,
6
+ "transformers_version": "4.37.2"
7
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d34d054c5f8ae719572a0bba57d9c5906877c86c4e33fcc179a7213de6342b4
3
+ size 1183167232