| { |
| "architectures": [ |
| "Qwen3ForGuardModel" |
| ], |
| "attention_bias": false, |
| "attention_dropout": 0.0, |
| "auto_map": { |
| "AutoConfig": "configuration_qwen3.Qwen3Config", |
| "AutoModel": "modeling_qwen3_guard.Qwen3ForGuardModel" |
| }, |
| "bos_token_id": 151643, |
| "eos_token_id": 151645, |
| "guard_inner_size": 512, |
| "head_dim": 128, |
| "hidden_act": "silu", |
| "hidden_size": 1024, |
| "initializer_range": 0.02, |
| "intermediate_size": 3072, |
| "max_position_embeddings": 8192, |
| "max_window_layers": 28, |
| "model_type": "qwen3", |
| "num_attention_heads": 16, |
| "num_category": 8, |
| "num_hidden_layers": 28, |
| "num_key_value_heads": 8, |
| "num_query_category": 9, |
| "num_query_risk_level": 3, |
| "num_risk_level": 3, |
| "rms_norm_eps": 1e-06, |
| "rope_scaling": null, |
| "rope_theta": 1000000, |
| "sliding_window": null, |
| "tie_word_embeddings": true, |
| "torch_dtype": "bfloat16", |
| "transformers_version": "4.55.0", |
| "use_cache": false, |
| "use_sliding_window": false, |
| "vocab_size": 151936, |
| "response_risk_level_map": {"0": "Safe", "1": "Unsafe", "2": "Controversial"}, |
| "response_category_map": {"0": "Violent", "1": "Sexual Content", "2": "Self-Harm", "3": "Political", "4": "PII", "5": "Copyright", "6": "Illegal Acts", "7": "Unethical"}, |
| "query_risk_level_map": {"0": "Safe", "1": "Unsafe", "2": "Controversial"}, |
| "query_category_map": {"0": "Violent", "1": "Sexual Content", "2": "Self-Harm", "3": "Political", "4": "PII", "5": "Copyright", "6": "Illegal Acts", "7": "Unethical", "8": "Jailbreak"} |
| } |
|
|