{ "architectures": [ "Inkling2ForConditionalGeneration" ], "dtype": "bfloat16", "eos_token_id": 200006, "image_token_id": 200054, "model_type": "inkling2", "mtp_config": { "block_size": 8, "head_dim": 128, "hidden_size": 4608, "intermediate_size": 18432, "local_layer_ids": [ 0, 1, 3, 4 ], "markov_head_type": "rnn_hidden", "markov_rank": 256, "max_position_embeddings": 1048576, "num_attention_heads": 48, "num_hidden_layers": 5, "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, 11, 17, 23, 29, 35, 41, 48 ], "torch_dtype": "bfloat16" }, "quantization_config": { "activation_scheme": "dynamic", "modules_to_not_convert": [ "model.llm.unembed", "model.visual", "model.llm.layers.*.attn.*" ], "quant_method": "fp8", "scale_fmt": "ue8m0", "weight_block_size": [ 1, 32 ] }, "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, "final_norm_pre_affine": false, "head_dim": 8, "hidden_act": "silu", "hidden_size": 32, "initializer_range": 0.02, "layer_types": [ "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, 24, 25, 26, 27, 28, 30, 31, 32, 33, 34, 36, 37, 38, 39, 40, 42, 43, 44, 45, 46 ], "log_scaling_alpha": 0.1, "log_scaling_n_floor": 8192, "max_position_embeddings": 1048576, "mlp_gate_softcap": 4.0, "mlp_up_softcap": 25.0, "model_type": "inkling2_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": 2, "num_key_value_heads": 2, "o_bias": false, "pad_token_id": null, "pre_norm_pre_affine": false, "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.23.0", "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 } }