File size: 3,457 Bytes
5e76121
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
{
  "architectures": [
    "Inkling2LoopForConditionalGeneration"
  ],
  "dtype": "bfloat16",
  "eos_token_id": 200006,
  "image_token_id": 200054,
  "model_type": "inkling2_loop",
  "mtp_config": {
    "block_size": 8,
    "head_dim": 128,
    "hidden_size": 2304,
    "intermediate_size": 9216,
    "local_layer_ids": [
      0,
      2
    ],
    "markov_head_type": "rnn_hidden",
    "markov_rank": 256,
    "max_position_embeddings": 1048576,
    "num_attention_heads": 24,
    "num_hidden_layers": 3,
    "num_key_value_heads": 8,
    "o_bias": false,
    "q_bias": false,
    "rms_norm_eps": 1e-06,
    "rope_theta": 1000000.0,
    "sliding_window_size": 1024,
    "target_layer_ids": [
      5,
      23,
      41,
      48
    ],
    "torch_dtype": "bfloat16"
  },
  "text_config": {
    "attention_dropout": 0.0,
    "attn_res_normalize_values": true,
    "bos_token_id": null,
    "conv_kernel_size": 4,
    "d_rel": 4,
    "dtype": "bfloat16",
    "eos_token_id": 200006,
    "final_logit_softcapping": 30.0,
    "head_dim": 8,
    "hidden_act": "silu",
    "hidden_size": 32,
    "initializer_range": 0.02,
    "layer_types": [
      "hybrid_sliding",
      "hybrid",
      "hybrid_sliding",
      "hybrid",
      "hybrid_sliding",
      "hybrid",
      "hybrid_sliding",
      "hybrid"
    ],
    "local_layer_ids": [
      0,
      1,
      2,
      3,
      4,
      6,
      7,
      8,
      9,
      10,
      12,
      13,
      14,
      15,
      16,
      18,
      19,
      20,
      21,
      22
    ],
    "log_scaling_alpha": 0.1,
    "log_scaling_n_floor": 8192,
    "loop_config": {
      "core_end": 6,
      "core_start": 2,
      "gate_rank": 8,
      "is_varloop": false,
      "num_passes": 3
    },
    "loop_gate_rank": 8,
    "loop_layer_index_end": 6,
    "loop_layer_index_start": 2,
    "loop_num_passes": 3,
    "max_position_embeddings": 1048576,
    "mlp_gate_softcap": 4.0,
    "mlp_up_softcap": 25.0,
    "model_type": "inkling2_loop_text",
    "moe_intermediate_size": 32,
    "n_layers_per_attn_res_block": 2,
    "n_routed_experts": 8,
    "n_shared_experts": 0,
    "num_attention_heads": 4,
    "num_experts_per_tok": 2,
    "num_hidden_layers": 8,
    "num_key_value_heads": 2,
    "o_bias": false,
    "pad_token_id": null,
    "q_bias": false,
    "qk_l2_clip_threshold": 22.627416997969522,
    "rel_extent": 32,
    "rel_l2_clip_threshold": 8.0,
    "rms_norm_eps": 1e-06,
    "route_scale": 8.0,
    "scoring_func": "sigmoid",
    "sliding_window_size": 16,
    "swa_head_dim": 8,
    "swa_num_attention_heads": 4,
    "swa_num_key_value_heads": 2,
    "unpadded_vocab_size": 200058,
    "use_cache": true,
    "use_gate_bias": true,
    "use_value_norm_no_gamma": true,
    "vocab_size": 201024
  },
  "transformers_version": "5.24.0.dev0",
  "vision_config": {
    "attention_dropout": 0.0,
    "hidden_act": "gelu",
    "hidden_size": 32,
    "initializer_range": 0.02,
    "intermediate_size": 4096,
    "layer_norm_eps": 1e-05,
    "layer_scale_init_value": 0.1,
    "mlp_ratio": 4.0,
    "model_type": "inkling2_vision",
    "num_attention_heads": 2,
    "num_channels": 3,
    "num_hidden_layers": 2,
    "patch_size": 20,
    "posemb_grid_size": 32,
    "projection_hidden_dim": 64,
    "projector_bias": false,
    "rope_parameters": {
      "rope_theta": 10000.0,
      "rope_type": "axial"
    },
    "spatial_merge_size": 2,
    "temporal_patch_size": 2,
    "text_hidden_size": 32
  }
}