| { | |
| "architectures": [ | |
| "BailingMoeLinearV2ForCausalLM" | |
| ], | |
| "attention_dropout": 0.0, | |
| "auto_map": { | |
| "AutoConfig": "configuration_bailing_moe_linear_v2.BailingMoeLinearV2Config", | |
| "AutoModel": "modeling_bailing_moe_linear_v2.BailingMoeLinearV2Model", | |
| "AutoModelForCausalLM": "modeling_bailing_moe_linear_v2.BailingMoeLinearV2ForCausalLM" | |
| }, | |
| "dtype": "bfloat16", | |
| "embedding_dropout": 0.0, | |
| "eos_token_id": 156892, | |
| "first_k_dense_replace": 1, | |
| "group_norm_size": 4, | |
| "head_dim": 128, | |
| "hidden_act": "silu", | |
| "hidden_size": 2048, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 5120, | |
| "layer_group_size": 5, | |
| "linear_silu": false, | |
| "max_position_embeddings": 131072, | |
| "max_window_layers": 20, | |
| "model_type": "bailing_moe_linear", | |
| "moe_intermediate_size": 512, | |
| "moe_router_enable_expert_bias": true, | |
| "moe_shared_expert_intermediate_size": 512, | |
| "mtp_loss_scaling_factor": 0, | |
| "n_group": 8, | |
| "norm_topk_prob": true, | |
| "num_attention_heads": 16, | |
| "num_experts": 256, | |
| "num_experts_per_tok": 8, | |
| "num_hidden_layers": 20, | |
| "num_key_value_heads": 4, | |
| "num_nextn_predict_layers": 0, | |
| "num_shared_experts": 1, | |
| "output_dropout": 0.0, | |
| "output_router_logits": false, | |
| "pad_token_id": 156892, | |
| "partial_rotary_factor": 0.5, | |
| "quantization_config": { | |
| "config_groups": { | |
| "group_0": { | |
| "format": "pack-quantized", | |
| "input_activations": null, | |
| "output_activations": null, | |
| "targets": [ | |
| "Linear" | |
| ], | |
| "weights": { | |
| "actorder": "weight", | |
| "block_structure": null, | |
| "dynamic": false, | |
| "group_size": 128, | |
| "num_bits": 4, | |
| "observer": "minmax", | |
| "observer_kwargs": {}, | |
| "strategy": "group", | |
| "symmetric": true, | |
| "type": "int" | |
| } | |
| } | |
| }, | |
| "format": "pack-quantized", | |
| "global_compression_ratio": null, | |
| "ignore": [ | |
| "model.layers.0.attention.dense", | |
| "model.layers.1.attention.dense", | |
| "model.layers.2.attention.dense", | |
| "model.layers.3.attention.dense", | |
| "model.layers.4.attention.dense", | |
| "model.layers.5.attention.dense", | |
| "model.layers.6.attention.dense", | |
| "model.layers.7.attention.dense", | |
| "model.layers.8.attention.dense", | |
| "model.layers.9.attention.dense", | |
| "model.layers.10.attention.dense", | |
| "model.layers.11.attention.dense", | |
| "model.layers.12.attention.dense", | |
| "model.layers.13.attention.dense", | |
| "model.layers.14.attention.dense", | |
| "model.layers.15.attention.dense", | |
| "model.layers.16.attention.dense", | |
| "model.layers.17.attention.dense", | |
| "model.layers.18.attention.dense", | |
| "model.layers.19.attention.dense", | |
| "lm_head" | |
| ], | |
| "kv_cache_scheme": null, | |
| "quant_method": "compressed-tensors", | |
| "quantization_status": "compressed", | |
| "sparsity_config": {}, | |
| "transform_config": {}, | |
| "version": "0.11.0" | |
| }, | |
| "rms_norm_eps": 1e-06, | |
| "rope_scaling": null, | |
| "rope_theta": 1000000, | |
| "routed_scaling_factor": 2.5, | |
| "router_dtype": "fp32", | |
| "score_function": "sigmoid", | |
| "tie_word_embeddings": false, | |
| "topk_group": 4, | |
| "transformers_version": "4.56.1", | |
| "use_bias": false, | |
| "use_cache": true, | |
| "use_qk_norm": true, | |
| "use_qkv_bias": false, | |
| "use_rmsnorm": true, | |
| "vocab_size": 157184 | |
| } |