{ "vocab_size": 151936, "max_position_embeddings": 32768, "hidden_size": 896, "intermediate_size": 4864, "num_hidden_layers": 24, "num_attention_heads": 14, "use_sliding_window": false, "sliding_window": null, "max_window_layers": 24, "num_key_value_heads": 2, "hidden_act": "silu", "initializer_range": 0.02, "rms_norm_eps": 1e-06, "use_cache": true, "attention_dropout": 0.0, "layer_types": [ "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention", "full_attention" ], "pad_token_id": null, "bos_token_id": 151643, "eos_token_id": 151643, "tie_word_embeddings": true, "rope_parameters": { "rope_theta": 1000000.0, "rope_type": "default" }, "return_dict": true, "output_hidden_states": false, "dtype": "bfloat16", "chunk_size_feed_forward": 0, "is_encoder_decoder": false, "architectures": [ "PTDQwen2ForCausalLM" ], "id2label": { "0": "LABEL_0", "1": "LABEL_1" }, "label2id": { "LABEL_0": 0, "LABEL_1": 1 }, "problem_type": null, "_name_or_path": "Qwen/Qwen2.5-0.5B", "transformers_version": "5.1.0", "model_type": "ptd_qwen2", "use_mrope": false, "output_attentions": false, "base_model": "Qwen/Qwen2.5-0.5B", "tokenizer": "Qwen/Qwen2.5-0.5B", "package_type": "full_state", "recommended_keep_rate": 0.7, "ptd_config": { "block_size": 6, "segment_size": 16, "keep_rate": 0.7, "keep_rates": null, "router_rank": 16, "router_queries": 8, "router_type": "mq", "router_dim": 128, "router_heads": 2, "router_layers": 1, "router_jitter": 0.01, "drop_tokens": true, "ste_gating": true }, "auto_map": { "AutoConfig": "configuration_ptd_qwen2.PTDQwen2Config", "AutoModelForCausalLM": "modeling_ptd_qwen2.PTDQwen2ForCausalLM" } }