if001 commited on
Commit
bd92d3b
1 Parent(s): 0a4fe90

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": 2048,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 2000,
12
+ "max_position_embeddings": 2048,
13
+ "model_type": "mixtral",
14
+ "num_attention_heads": 8,
15
+ "num_experts_per_tok": 2,
16
+ "num_hidden_layers": 6,
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.38.1",
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.38.1"
7
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bff9810b4c7e4521cd168e6ede5c46e543e6dec26c4f88dd044c2f157a583e2d
3
+ size 2900421272