Pacific-i64 commited on
Commit
7ba219d
·
verified ·
1 Parent(s): 6aa921f

Upload folder using huggingface_hub

Browse files
final/config.json ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "hidden_size": 896,
3
+ "num_hidden_layers": 16,
4
+ "intermediate_size": 256,
5
+ "vocab_size": 32000,
6
+ "num_attention_heads": 14,
7
+ "num_key_value_heads": 2,
8
+ "attention_type": "gqa",
9
+ "attention_dropout": 0.0,
10
+ "use_qk_norm": true,
11
+ "sliding_window": null,
12
+ "causal_conv_kernel_size": 4,
13
+ "causal_conv_dilation_cycle": 8,
14
+ "causal_state_rank": 16,
15
+ "causal_context_gate_init": 1.0,
16
+ "causal_contextual_mix_init": 0.0,
17
+ "causal_context_fusion_size": 0,
18
+ "causal_stable_delta": false,
19
+ "causal_delta_chunk_size": 512,
20
+ "causal_delta_timescales": 1,
21
+ "causal_delta_collision_normalized": false,
22
+ "causal_delta_lexical_values": false,
23
+ "causal_delta_lexical_forge": false,
24
+ "causal_delta_occurrence_address": false,
25
+ "tr_mha_num_experts": 4,
26
+ "tr_mha_adapter_rank": 8,
27
+ "tr_mha_top_k": 2,
28
+ "tr_mha_adapter_gate_init": 0.1,
29
+ "tr_mha_id_primary_logit": 2.0,
30
+ "tr_mha_id_secondary_logit": 1.0,
31
+ "tr_mha_id_other_logit": -2.0,
32
+ "tr_mha_verifier_gate_init": 0.1,
33
+ "tr_mha_verifier_temperature": 1.0,
34
+ "tr_mha_targets": "qv",
35
+ "max_position_embeddings": 2048,
36
+ "rope_theta": 10000.0,
37
+ "rope_type": "standard",
38
+ "rope_fraction": 1.0,
39
+ "mlp_type": "tr_hash_engine",
40
+ "hidden_act": "silu",
41
+ "num_experts": 4,
42
+ "expert_initialization": "gpt_normal",
43
+ "token_frequencies": null,
44
+ "routing_strategy": "token_id_multi_hash",
45
+ "route_hash_count": 2,
46
+ "lsh_routing": false,
47
+ "lsh_bits": 0,
48
+ "lsh_from_layer": 0,
49
+ "lsh_threshold_mode": "zero",
50
+ "shared_expert": true,
51
+ "shared_intermediate_size": 3072,
52
+ "shared_expert_chunk_tokens": 0,
53
+ "use_shared_routed_gates": false,
54
+ "shared_gate_init": 1.0,
55
+ "routed_gate_init": 1.0,
56
+ "shared_output_scale": 1.0,
57
+ "routed_output_scale": 2.0,
58
+ "shared_output_scale_first_layer": null,
59
+ "shared_output_scale_last_layer": null,
60
+ "routed_output_scale_first_layer": null,
61
+ "routed_output_scale_last_layer": null,
62
+ "top_k": 2,
63
+ "top_k_primary_weight": 0.5,
64
+ "learn_hash_pair_gates": false,
65
+ "hash_pair_gate_init": 0.5,
66
+ "learn_hash_channel_modulation": false,
67
+ "hash_channel_scale_init": 0.0,
68
+ "static_expert_capacity": false,
69
+ "use_custom_kernels": "auto",
70
+ "collect_moe_telemetry": false,
71
+ "use_cggr": "auto",
72
+ "active_num_experts": null,
73
+ "active_expert_width": null,
74
+ "lexical_object_rank": 16,
75
+ "lexical_object_gate_init": 0.1,
76
+ "tie_lexical_object_embeddings": false,
77
+ "micro_num_experts": 4,
78
+ "micro_expert_width": 16,
79
+ "micro_expert_gate_init": 0.1,
80
+ "lexical_gqa_rank": 16,
81
+ "lexical_gqa_gate_init": 0.0,
82
+ "lexical_gqa_use_token_code": true,
83
+ "lexical_key_gate_init": 0.05,
84
+ "lexical_zipf_path": null,
85
+ "lexical_zipf_mode": "uniform",
86
+ "lexical_zipf_alpha": 0.25,
87
+ "lexical_zipf_floor": 0.1,
88
+ "lexical_zipf_permutation_seed": 1729,
89
+ "norm_type": "rmsnorm",
90
+ "norm_eps": 1e-06,
91
+ "tie_word_embeddings": true,
92
+ "use_sdpa": true,
93
+ "use_cache": true,
94
+ "initializer_range": 0.02,
95
+ "use_mup_init": false,
96
+ "use_mup_attn_scale": false,
97
+ "use_mup_output_mult": false,
98
+ "mup_base_width": 256,
99
+ "extra_config": {}
100
+ }
final/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62a98cd7eae04b744089880379e7251d59c944883597aa78b301be10ce11f386
3
+ size 813515200
final/model_config.yaml ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ active_expert_width: null
2
+ active_num_experts: null
3
+ attention_dropout: 0.0
4
+ attention_type: gqa
5
+ causal_context_fusion_size: 0
6
+ causal_context_gate_init: 1.0
7
+ causal_contextual_mix_init: 0.0
8
+ causal_conv_dilation_cycle: 8
9
+ causal_conv_kernel_size: 4
10
+ causal_delta_chunk_size: 512
11
+ causal_delta_collision_normalized: false
12
+ causal_delta_lexical_forge: false
13
+ causal_delta_lexical_values: false
14
+ causal_delta_occurrence_address: false
15
+ causal_delta_timescales: 1
16
+ causal_stable_delta: false
17
+ causal_state_rank: 16
18
+ collect_moe_telemetry: false
19
+ expert_initialization: gpt_normal
20
+ extra_config: {}
21
+ hash_channel_scale_init: 0.0
22
+ hash_pair_gate_init: 0.5
23
+ hidden_act: silu
24
+ hidden_size: 896
25
+ initializer_range: 0.02
26
+ intermediate_size: 256
27
+ learn_hash_channel_modulation: false
28
+ learn_hash_pair_gates: false
29
+ lexical_gqa_gate_init: 0.0
30
+ lexical_gqa_rank: 16
31
+ lexical_gqa_use_token_code: true
32
+ lexical_key_gate_init: 0.05
33
+ lexical_object_gate_init: 0.1
34
+ lexical_object_rank: 16
35
+ lexical_zipf_alpha: 0.25
36
+ lexical_zipf_floor: 0.1
37
+ lexical_zipf_mode: uniform
38
+ lexical_zipf_path: null
39
+ lexical_zipf_permutation_seed: 1729
40
+ lsh_bits: 0
41
+ lsh_from_layer: 0
42
+ lsh_routing: false
43
+ lsh_threshold_mode: zero
44
+ max_position_embeddings: 2048
45
+ micro_expert_gate_init: 0.1
46
+ micro_expert_width: 16
47
+ micro_num_experts: 4
48
+ mlp_type: tr_hash_engine
49
+ mup_base_width: 256
50
+ norm_eps: 1.0e-06
51
+ norm_type: rmsnorm
52
+ num_attention_heads: 14
53
+ num_experts: 4
54
+ num_hidden_layers: 16
55
+ num_key_value_heads: 2
56
+ rope_fraction: 1.0
57
+ rope_theta: 10000.0
58
+ rope_type: standard
59
+ route_hash_count: 2
60
+ routed_gate_init: 1.0
61
+ routed_output_scale: 2.0
62
+ routed_output_scale_first_layer: null
63
+ routed_output_scale_last_layer: null
64
+ routing_strategy: token_id_multi_hash
65
+ shared_expert: true
66
+ shared_expert_chunk_tokens: 0
67
+ shared_gate_init: 1.0
68
+ shared_intermediate_size: 3072
69
+ shared_output_scale: 1.0
70
+ shared_output_scale_first_layer: null
71
+ shared_output_scale_last_layer: null
72
+ sliding_window: null
73
+ static_expert_capacity: false
74
+ tie_lexical_object_embeddings: false
75
+ tie_word_embeddings: true
76
+ token_frequencies: null
77
+ top_k: 2
78
+ top_k_primary_weight: 0.5
79
+ tr_mha_adapter_gate_init: 0.1
80
+ tr_mha_adapter_rank: 8
81
+ tr_mha_id_other_logit: -2.0
82
+ tr_mha_id_primary_logit: 2.0
83
+ tr_mha_id_secondary_logit: 1.0
84
+ tr_mha_num_experts: 4
85
+ tr_mha_targets: qv
86
+ tr_mha_top_k: 2
87
+ tr_mha_verifier_gate_init: 0.1
88
+ tr_mha_verifier_temperature: 1.0
89
+ use_cache: true
90
+ use_cggr: auto
91
+ use_custom_kernels: auto
92
+ use_mup_attn_scale: false
93
+ use_mup_init: false
94
+ use_mup_output_mult: false
95
+ use_qk_norm: true
96
+ use_sdpa: true
97
+ use_shared_routed_gates: false
98
+ vocab_size: 32000