| { | |
| "vocab_size": 200064, | |
| "max_position_embeddings": 196608, | |
| "hidden_size": 3072, | |
| "intermediate_size": 1536, | |
| "num_hidden_layers": 62, | |
| "num_attention_heads": 48, | |
| "num_key_value_heads": 8, | |
| "hidden_act": "silu", | |
| "initializer_range": 0.02, | |
| "rms_norm_eps": 1e-06, | |
| "use_cache": true, | |
| "attention_dropout": 0.0, | |
| "head_dim": 128, | |
| "rope_parameters": { | |
| "rope_theta": 5000000, | |
| "rope_type": "default" | |
| }, | |
| "num_experts_per_tok": 8, | |
| "num_local_experts": 256, | |
| "output_router_logits": false, | |
| "router_aux_loss_coef": 0.001, | |
| "router_jitter_noise": 0.0, | |
| "pad_token_id": null, | |
| "bos_token_id": 200034, | |
| "eos_token_id": 200020, | |
| "tie_word_embeddings": false, | |
| "return_dict": true, | |
| "output_hidden_states": false, | |
| "dtype": "bfloat16", | |
| "chunk_size_feed_forward": 0, | |
| "is_encoder_decoder": false, | |
| "architectures": [ | |
| "MiniMaxM2ForCausalLM" | |
| ], | |
| "id2label": { | |
| "0": "LABEL_0", | |
| "1": "LABEL_1" | |
| }, | |
| "label2id": { | |
| "LABEL_0": 0, | |
| "LABEL_1": 1 | |
| }, | |
| "problem_type": null, | |
| "_name_or_path": "MiniMaxAI/MiniMax-M2.5", | |
| "transformers_version": "5.1.0", | |
| "attn_type_list": [ | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1, | |
| 1 | |
| ], | |
| "auto_map": { | |
| "AutoConfig": "configuration_minimax_m2.MiniMaxM2Config", | |
| "AutoModelForCausalLM": "modeling_minimax_m2.MiniMaxM2ForCausalLM" | |
| }, | |
| "model_type": "minimax_m2", | |
| "mtp_transformer_layers": 1, | |
| "num_mtp_modules": 3, | |
| "qk_norm_type": "per_layer", | |
| "rotary_dim": 64, | |
| "scoring_func": "sigmoid", | |
| "shared_intermediate_size": 0, | |
| "use_mtp": true, | |
| "use_qk_norm": true, | |
| "use_routing_bias": true, | |
| "output_attentions": false, | |
| "quantization_config": { | |
| "config_groups": { | |
| "group_0": { | |
| "input_activations": { | |
| "dynamic": false, | |
| "num_bits": 4, | |
| "type": "float", | |
| "group_size": 16 | |
| }, | |
| "weights": { | |
| "dynamic": false, | |
| "num_bits": 4, | |
| "type": "float", | |
| "group_size": 16 | |
| }, | |
| "targets": [ | |
| "Linear" | |
| ] | |
| } | |
| }, | |
| "ignore": [ | |
| "lm_head", | |
| "model.layers.0.self_attn*", | |
| "model.layers.1.self_attn*", | |
| "model.layers.10.self_attn*", | |
| "model.layers.11.self_attn*", | |
| "model.layers.12.self_attn*", | |
| "model.layers.13.self_attn*", | |
| "model.layers.14.self_attn*", | |
| "model.layers.15.self_attn*", | |
| "model.layers.16.self_attn*", | |
| "model.layers.17.self_attn*", | |
| "model.layers.18.self_attn*", | |
| "model.layers.19.self_attn*", | |
| "model.layers.2.self_attn*", | |
| "model.layers.20.self_attn*", | |
| "model.layers.21.self_attn*", | |
| "model.layers.22.self_attn*", | |
| "model.layers.23.self_attn*", | |
| "model.layers.24.self_attn*", | |
| "model.layers.25.self_attn*", | |
| "model.layers.26.self_attn*", | |
| "model.layers.27.self_attn*", | |
| "model.layers.28.self_attn*", | |
| "model.layers.29.self_attn*", | |
| "model.layers.3.self_attn*", | |
| "model.layers.30.self_attn*", | |
| "model.layers.31.self_attn*", | |
| "model.layers.32.self_attn*", | |
| "model.layers.33.self_attn*", | |
| "model.layers.34.self_attn*", | |
| "model.layers.35.self_attn*", | |
| "model.layers.36.self_attn*", | |
| "model.layers.37.self_attn*", | |
| "model.layers.38.self_attn*", | |
| "model.layers.39.self_attn*", | |
| "model.layers.4.self_attn*", | |
| "model.layers.40.self_attn*", | |
| "model.layers.41.self_attn*", | |
| "model.layers.42.self_attn*", | |
| "model.layers.43.self_attn*", | |
| "model.layers.44.self_attn*", | |
| "model.layers.45.self_attn*", | |
| "model.layers.46.self_attn*", | |
| "model.layers.47.self_attn*", | |
| "model.layers.48.self_attn*", | |
| "model.layers.49.self_attn*", | |
| "model.layers.5.self_attn*", | |
| "model.layers.50.self_attn*", | |
| "model.layers.51.self_attn*", | |
| "model.layers.52.self_attn*", | |
| "model.layers.53.self_attn*", | |
| "model.layers.54.self_attn*", | |
| "model.layers.55.self_attn*", | |
| "model.layers.56.self_attn*", | |
| "model.layers.57.self_attn*", | |
| "model.layers.58.self_attn*", | |
| "model.layers.59.self_attn*", | |
| "model.layers.6.self_attn*", | |
| "model.layers.60.self_attn*", | |
| "model.layers.61.self_attn*", | |
| "model.layers.7.self_attn*", | |
| "model.layers.8.self_attn*", | |
| "model.layers.9.self_attn*" | |
| ], | |
| "quant_algo": "NVFP4", | |
| "producer": { | |
| "name": "modelopt", | |
| "version": "0.41.0" | |
| }, | |
| "quant_method": "modelopt" | |
| } | |
| } |