Upload folder using huggingface_hub
Browse files- config.json +45 -0
- openvino_config.json +24 -0
- openvino_model.bin +3 -0
- openvino_model.xml +0 -0
config.json
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "katanemolabs/Bolt-Guard-v2",
|
3 |
+
"architectures": [
|
4 |
+
"DebertaV2ForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"hidden_act": "gelu",
|
8 |
+
"hidden_dropout_prob": 0.1,
|
9 |
+
"hidden_size": 768,
|
10 |
+
"id2label": {
|
11 |
+
"0": "BENIGN",
|
12 |
+
"1": "INJECTION",
|
13 |
+
"2": "JAILBREAK"
|
14 |
+
},
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"intermediate_size": 3072,
|
17 |
+
"label2id": {
|
18 |
+
"BENIGN": 0,
|
19 |
+
"INJECTION": 1,
|
20 |
+
"JAILBREAK": 2
|
21 |
+
},
|
22 |
+
"layer_norm_eps": 1e-07,
|
23 |
+
"max_position_embeddings": 512,
|
24 |
+
"max_relative_positions": -1,
|
25 |
+
"model_type": "deberta-v2",
|
26 |
+
"norm_rel_ebd": "layer_norm",
|
27 |
+
"num_attention_heads": 12,
|
28 |
+
"num_hidden_layers": 12,
|
29 |
+
"pad_token_id": 0,
|
30 |
+
"pooler_dropout": 0,
|
31 |
+
"pooler_hidden_act": "gelu",
|
32 |
+
"pooler_hidden_size": 768,
|
33 |
+
"pos_att_type": [
|
34 |
+
"p2c",
|
35 |
+
"c2p"
|
36 |
+
],
|
37 |
+
"position_biased_input": false,
|
38 |
+
"position_buckets": 256,
|
39 |
+
"relative_attention": true,
|
40 |
+
"share_att_key": true,
|
41 |
+
"torch_dtype": "float32",
|
42 |
+
"transformers_version": "4.43.4",
|
43 |
+
"type_vocab_size": 0,
|
44 |
+
"vocab_size": 251000
|
45 |
+
}
|
openvino_config.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"compression": null,
|
3 |
+
"dtype": "int4",
|
4 |
+
"input_info": null,
|
5 |
+
"optimum_version": "1.22.0",
|
6 |
+
"quantization_config": {
|
7 |
+
"all_layers": null,
|
8 |
+
"bits": 4,
|
9 |
+
"dataset": null,
|
10 |
+
"group_size": 128,
|
11 |
+
"ignored_scope": null,
|
12 |
+
"num_samples": null,
|
13 |
+
"quant_method": "default",
|
14 |
+
"ratio": 1.0,
|
15 |
+
"scale_estimation": null,
|
16 |
+
"sensitivity_metric": null,
|
17 |
+
"sym": false,
|
18 |
+
"tokenizer": null,
|
19 |
+
"trust_remote_code": false,
|
20 |
+
"weight_format": "int4"
|
21 |
+
},
|
22 |
+
"save_onnx_model": false,
|
23 |
+
"transformers_version": "4.43.4"
|
24 |
+
}
|
openvino_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9a3f542d5f2aa60e6ace7c6f9e06f0ea87980c55aecdf7632cc8d68a24173eb2
|
3 |
+
size 276193445
|
openvino_model.xml
ADDED
The diff for this file is too large to render.
See raw diff
|
|