CoolFace
Modelpublic

0zuttag/agentic-shield-llm

sourceHugging Faceapache-2.0updated 5mo agoView on Hugging Face
0likes5downloads
config.json95 linesDownload Raw Back to root
1{
2  "architectures": [
3    "Qwen3ForSequenceClassification"
4  ],
5  "attention_bias": false,
6  "attention_dropout": 0.0,
7  "bos_token_id": 151643,
8  "dtype": "float32",
9  "eos_token_id": 151645,
10  "head_dim": 128,
11  "hidden_act": "silu",
12  "hidden_size": 2560,
13  "id2label": {
14    "0": "safe",
15    "1": "violation"
16  },
17  "initializer_range": 0.02,
18  "intermediate_size": 9728,
19  "label2id": {
20    "safe": 0,
21    "violation": 1
22  },
23  "layer_types": [
24    "full_attention",
25    "full_attention",
26    "full_attention",
27    "full_attention",
28    "full_attention",
29    "full_attention",
30    "full_attention",
31    "full_attention",
32    "full_attention",
33    "full_attention",
34    "full_attention",
35    "full_attention",
36    "full_attention",
37    "full_attention",
38    "full_attention",
39    "full_attention",
40    "full_attention",
41    "full_attention",
42    "full_attention",
43    "full_attention",
44    "full_attention",
45    "full_attention",
46    "full_attention",
47    "full_attention",
48    "full_attention",
49    "full_attention",
50    "full_attention",
51    "full_attention",
52    "full_attention",
53    "full_attention",
54    "full_attention",
55    "full_attention",
56    "full_attention",
57    "full_attention",
58    "full_attention",
59    "full_attention"
60  ],
61  "max_position_embeddings": 40960,
62  "max_window_layers": 36,
63  "model_type": "qwen3",
64  "num_attention_heads": 32,
65  "num_hidden_layers": 36,
66  "num_key_value_heads": 8,
67  "pad_token_id": 151643,
68  "quantization_config": {
69    "_load_in_4bit": true,
70    "_load_in_8bit": false,
71    "bnb_4bit_compute_dtype": "bfloat16",
72    "bnb_4bit_quant_storage": "uint8",
73    "bnb_4bit_quant_type": "nf4",
74    "bnb_4bit_use_double_quant": true,
75    "llm_int8_enable_fp32_cpu_offload": false,
76    "llm_int8_has_fp16_weight": false,
77    "llm_int8_skip_modules": null,
78    "llm_int8_threshold": 6.0,
79    "load_in_4bit": true,
80    "load_in_8bit": false,
81    "quant_method": "bitsandbytes"
82  },
83  "rms_norm_eps": 1e-06,
84  "rope_parameters": {
85    "rope_theta": 1000000,
86    "rope_type": "default"
87  },
88  "sliding_window": null,
89  "tie_word_embeddings": true,
90  "transformers_version": "5.4.0",
91  "use_cache": false,
92  "use_sliding_window": false,
93  "vocab_size": 151936
94}
95