File size: 2,571 Bytes
4f210d5
 
 
 
ac0d936
 
4f210d5
 
 
 
 
ac0d936
 
 
4f210d5
 
 
 
ac0d936
 
 
 
 
 
4f210d5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ac0d936
f1b8f61
ac0d936
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4f210d5
 
 
 
 
ac0d936
 
4f210d5
 
 
 
 
ac0d936
 
 
 
 
4f210d5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
  "architectures": [
    "Samai4bForCausalLM"
  ],
  "attention_bias": false,
  "attention_dropout": 0.0,
  "auto_map": {
    "AutoConfig": "modeling_samai_4b.Samai4bConfig",
    "AutoModelForCausalLM": "modeling_samai_4b.Samai4bForCausalLM"
  },
  "bos_token_id": 0,
  "commit_kv": true,
  "drift_threshold": 0.98,
  "dtype": "float16",
  "eos_token_id": [
    1
  ],
  "gate_attn_act_mode": "sigmoid",
  "head_dim": 256,
  "headwise_attn_output_gate": true,
  "hidden_act": "gelu",
  "hidden_size": 2560,
  "initializer_range": 0.01976,
  "intermediate_size": 10240,
  "layer_types": [
    "sliding_attention",
    "sliding_attention",
    "sliding_attention",
    "full_attention",
    "sliding_attention",
    "sliding_attention",
    "sliding_attention",
    "full_attention",
    "sliding_attention",
    "sliding_attention",
    "sliding_attention",
    "full_attention",
    "sliding_attention",
    "sliding_attention",
    "sliding_attention",
    "full_attention",
    "sliding_attention",
    "sliding_attention",
    "sliding_attention",
    "full_attention",
    "sliding_attention",
    "sliding_attention",
    "sliding_attention",
    "full_attention",
    "sliding_attention",
    "sliding_attention",
    "sliding_attention",
    "full_attention",
    "sliding_attention",
    "sliding_attention",
    "sliding_attention",
    "full_attention",
    "sliding_attention",
    "sliding_attention",
    "sliding_attention",
    "full_attention"
  ],
  "max_ponder_steps": 8,
  "max_position_embeddings": 200000,
  "mlp_bias": false,
  "model_type": "samai_4b",
  "moe_aux_weight": 0.01,
  "moe_num_experts": 8,
  "moe_route_tau": null,
  "moe_scope": "ponder",
  "moe_tau": 0.125,
  "mtp_loss_weight": 1.0,
  "mtp_num_tokens": 2,
  "num_attention_heads": 16,
  "num_hidden_layers": 36,
  "num_key_value_heads": 4,
  "pad_token_id": 2,
  "ponder_all_positions": false,
  "ponder_epsilon": 0.01,
  "ponder_forced_steps": 0,
  "ponder_head_hidden": 0,
  "ponder_loss_beta": 0.01,
  "ponder_prior_p": 0.5,
  "ponder_signal": "learned",
  "ponder_start_layer": 28,
  "ponder_step_ce_weight": 0.0,
  "ponder_window": 1,
  "rms_norm_eps": 1e-06,
  "rope_parameters": {
    "full_attention": {
      "partial_rotary_factor": 0.25,
      "rope_theta": 5000000.0
    },
    "rope_theta": 10000.0,
    "rope_type": "default",
    "sliding_attention": {
      "partial_rotary_factor": 1.0,
      "rope_theta": 10000.0
    }
  },
  "sliding_window": 512,
  "tie_word_embeddings": true,
  "transformers_version": "5.16.1",
  "use_cache": true,
  "vocab_size": 131072
}