devsdaddy commited on
Commit
5ebab1c
·
verified ·
1 Parent(s): 7782f9e

Update to v.1.2.0

Browse files

Extended PII classifier (EN / RU) and Guard Model (EN / RU + partial other languages).

README.md CHANGED
@@ -151,4 +151,4 @@ inference: true
151
  url={https://huggingface.co/devsdaddy/ogl-mini},
152
  note={Guard 110k (shieldlm 54k + agentic 22.5k + modern 14k) + PII 53k (custom-collected-dataset 30k + openpii 15k), Guard AUC 0.997, PII F1 0.86}
153
  }
154
- ```
 
151
  url={https://huggingface.co/devsdaddy/ogl-mini},
152
  note={Guard 110k (shieldlm 54k + agentic 22.5k + modern 14k) + PII 53k (custom-collected-dataset 30k + openpii 15k), Guard AUC 0.997, PII F1 0.86}
153
  }
154
+ ```
ogl-mini-pii.int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88bc7d194572e9b2108f0663d0735e52599e0ff3aa1377a83094e1d1a03f745e
3
+ size 3848159
ogl-mini-pii.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_name": "ogl-mini-pii",
3
+ "version": "1.1.0-small",
4
+ "labels": [
5
+ "EMAIL",
6
+ "PHONE",
7
+ "PERSON",
8
+ "IP",
9
+ "IBAN",
10
+ "BANK_CARD",
11
+ "PASSPORT",
12
+ "GOV_ID",
13
+ "DOB",
14
+ "ADDRESS",
15
+ "SOCIAL"
16
+ ],
17
+ "f1_micro": 0.8598,
18
+ "languages": [
19
+ "ru",
20
+ "en",
21
+ "fr",
22
+ "de",
23
+ "es",
24
+ "it",
25
+ "pt"
26
+ ],
27
+ "training": "53000 texts, custom pii datas 15k + synthetic",
28
+ "quantization": "FP32 + INT8"
29
+ }
ogl-mini-pii.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5344e155ca937516a0afcb117147be92e95c0196112976c8b69d690ac4952bb2
3
+ size 3846699
ogl-mini-pii.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cdfe10b4502a5be87e142541ce355cb2d212471ea34be6c9f472631579a42808
3
+ size 3697115
ogl-mini.int8.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:014e36ce8942dc88b45cb85f9a2714f570ddca902783830d49c031bb0bfd0815
3
- size 2929648
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24278818279e38b2c4766e98c37086cb57c0c5de355514c50fc4304030604f27
3
+ size 2930575
ogl-mini.json CHANGED
@@ -1,16 +1,16 @@
1
  {
2
  "model_name": "ogl-mini",
3
- "version": "1.0.0-full",
4
  "base_models": [
5
  "microsoft/deberta-v3-xsmall (70M) distilled via TF-IDF 80k + LR",
6
  "sentence-transformers/all-MiniLM-L6-v2 (PII)"
7
  ],
8
- "architecture": "A Hybrid 3-stage model: heuristics + TF-IDF 80k TFIDF+LR (250MB ONNX) + PII hybrid",
9
  "training_data": {
10
  "shieldlm": 54162,
11
  "agentic_synthetic": 15000,
12
  "pii": 15000,
13
- "total": 96662,
14
  "owasp_coverage": [
15
  "LLM01 Prompt Injection",
16
  "LLM02 Sensitive Disclosure",
@@ -38,7 +38,7 @@
38
  },
39
  "quantization": "FP32 (INT8 variant available, size ~250MB)",
40
  "metrics": {
41
- "auc": 0.9988,
42
  "size_mb": 250.0
43
  },
44
  "languages": [
 
1
  {
2
  "model_name": "ogl-mini",
3
+ "version": "1.1.0-full",
4
  "base_models": [
5
  "microsoft/deberta-v3-xsmall (70M) distilled via TF-IDF 80k + LR",
6
  "sentence-transformers/all-MiniLM-L6-v2 (PII)"
7
  ],
8
+ "architecture": "Hybrid 3-stage: heuristics + TF-IDF 80k TFIDF+LR (250MB ONNX) + PII hybrid",
9
  "training_data": {
10
  "shieldlm": 54162,
11
  "agentic_synthetic": 15000,
12
  "pii": 15000,
13
+ "total": 110734,
14
  "owasp_coverage": [
15
  "LLM01 Prompt Injection",
16
  "LLM02 Sensitive Disclosure",
 
38
  },
39
  "quantization": "FP32 (INT8 variant available, size ~250MB)",
40
  "metrics": {
41
+ "auc": 0.997,
42
  "size_mb": 250.0
43
  },
44
  "languages": [
ogl-mini.onnx CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:cdde015ee2240d41e8392f6924b25a0c6e093080d4330fec5de2665c499e3445
3
- size 262140804
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cebf669e70dfd845322a9dc44d8dc74f42365d4383e1c560cae1ba55e938033e
3
+ size 262142030
ogl-mini.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:67974522710e8febf870f0f08bad364202567d78674e64e34126187480f271cd
3
- size 3923374
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:638834c3f2b888081ce9c0e85f1dc0ecbbda3cbcbc13ce3fca372569e94d2a2c
3
+ size 3924347
pii.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:66e40d0602ecc503736e4fe33597066ccdad2011c9b3f85cebec23ce3b2b0bcf
3
+ size 362633