Fuzhao Xue commited on
Commit
6600a8c
1 Parent(s): 9a88672

OpenMoE base pytorch checkpoint

Browse files
Files changed (3) hide show
  1. config.json +46 -0
  2. generation_config.json +6 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "OpenMoeForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "bos_token_id": 1,
7
+ "dropout_rate": 0.0,
8
+ "enable_comm_overlap": false,
9
+ "enable_hierarchical_alltoall": false,
10
+ "enable_kernel": false,
11
+ "enable_load_balance": false,
12
+ "eos_token_id": 2,
13
+ "expert_parallel": null,
14
+ "head_dim": 64,
15
+ "hidden_act": "swiglu",
16
+ "hidden_size": 768,
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 2048,
19
+ "layer_norm_epsilon": 1e-06,
20
+ "load_balance_beam_width": 8,
21
+ "load_balance_group_swap_factor": 0.4,
22
+ "load_balance_tolerance": 0.1,
23
+ "max_position_embeddings": 2048,
24
+ "mlp_gated": true,
25
+ "model_type": "llama",
26
+ "moe_layer_interval": 4,
27
+ "num_attention_heads": 12,
28
+ "num_experts": 16,
29
+ "num_hidden_layers": 12,
30
+ "num_key_value_heads": 12,
31
+ "pretraining_tp": 1,
32
+ "rms_norm_eps": 1e-06,
33
+ "rope_scaling": null,
34
+ "rope_theta": 10000.0,
35
+ "router_capacity_factor_eval": 2.0,
36
+ "router_capacity_factor_train": 1.25,
37
+ "router_drop_tks": true,
38
+ "router_min_capacity": 4,
39
+ "router_noisy_policy": null,
40
+ "router_topk": 2,
41
+ "tie_word_embeddings": false,
42
+ "torch_dtype": "float32",
43
+ "transformers_version": "4.34.0",
44
+ "use_cache": true,
45
+ "vocab_size": 256384
46
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "transformers_version": "4.34.0"
6
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45bd7394ac65e876a8f6887615d2af7628d226bead374fa670eec1494fb081b3
3
+ size 3198692805