frankleeeee commited on
Commit
c81273a
1 Parent(s): a2ec966

uploaded openmoe-base

Browse files
Files changed (3) hide show
  1. config.json +38 -0
  2. generation_config.json +7 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "OpenMoeForCausalLM"
4
+ ],
5
+ "bos_token_id": 1,
6
+ "capacity_factor_eval": 2.0,
7
+ "capacity_factor_train": 1.25,
8
+ "drop_tks": true,
9
+ "dropout_rate": 0.0,
10
+ "eos_token_id": 2,
11
+ "expert_parallel": null,
12
+ "gated": true,
13
+ "head_dim": 64,
14
+ "hidden_act": "swiglu",
15
+ "hidden_size": 768,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 2048,
18
+ "layer_norm_epsilon": 1e-06,
19
+ "max_position_embeddings": 2048,
20
+ "min_capacity": 4,
21
+ "model_type": "llama",
22
+ "moe_layer_interval": 4,
23
+ "noisy_policy": null,
24
+ "num_attention_heads": 12,
25
+ "num_experts": 16,
26
+ "num_hidden_layers": 12,
27
+ "num_key_value_heads": 12,
28
+ "pad_token_id": 0,
29
+ "pretraining_tp": 1,
30
+ "rms_norm_eps": 1e-06,
31
+ "rope_scaling": null,
32
+ "tie_word_embeddings": false,
33
+ "topk": 2,
34
+ "torch_dtype": "float32",
35
+ "transformers_version": "4.31.0",
36
+ "use_cache": true,
37
+ "vocab_size": 256384
38
+ }
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": 0,
6
+ "transformers_version": "4.31.0"
7
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:45bd7394ac65e876a8f6887615d2af7628d226bead374fa670eec1494fb081b3
3
+ size 3198692805