if001 commited on
Commit
e3821b0
1 Parent(s): 82183cb

Upload MixtralForCausalLM

Browse files
Files changed (3) hide show
  1. config.json +31 -0
  2. generation_config.json +7 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/notebooks/100M_search/model_Mixtral-700M-llm-jp-tk_b128_lr0.0001_wd0.001/sft/models/checkpoint-9800",
3
+ "architectures": [
4
+ "MixtralForCausalLM"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 1,
8
+ "eos_token_id": 2,
9
+ "hidden_act": "silu",
10
+ "hidden_size": 2048,
11
+ "initializer_range": 0.02,
12
+ "intermediate_size": 2000,
13
+ "max_position_embeddings": 2048,
14
+ "model_type": "mixtral",
15
+ "num_attention_heads": 8,
16
+ "num_experts_per_tok": 2,
17
+ "num_hidden_layers": 6,
18
+ "num_key_value_heads": 4,
19
+ "num_local_experts": 6,
20
+ "output_router_logits": true,
21
+ "pad_token_id": 4,
22
+ "rms_norm_eps": 1e-05,
23
+ "rope_theta": 1000000.0,
24
+ "router_aux_loss_coef": 0.001,
25
+ "sliding_window": null,
26
+ "tie_word_embeddings": false,
27
+ "torch_dtype": "float32",
28
+ "transformers_version": "4.38.2",
29
+ "use_cache": true,
30
+ "vocab_size": 50570
31
+ }
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.2"
7
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a17b04379c7f43ef685ec806afa0ded2cea6cfe67cc141ff3aa3e3e3dc914771
3
+ size 2900421272