Skip to content

Commit 0157138

Browse files
authored
feat(configs): new pii + phi config (#121)
1 parent 76169b6 commit 0157138

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: general-onnx-quantized
2+
# Alternatively, you can also use `knowledgator/gliner-x-large` or `knowledgator/gliner-x-small`
3+
# See collection here: https://huggingface.co/collections/freinold/gliner-general-models-68619eeb94640fe6cf14648d
4+
model_id: knowledgator/gliner-x-large
5+
onnx_enabled: True
6+
onnx_model_path: onnx/model_quantized.onnx
7+
default_threshold: 0.3
8+
default_entities:
9+
# PII
10+
- address
11+
- age
12+
- bank account number
13+
- city
14+
- country
15+
- credit card number
16+
- date
17+
- date of birth
18+
- drivers license number
19+
- email
20+
- health insurance number
21+
- iban
22+
- ip address
23+
- license plate
24+
- location
25+
- passport number
26+
- person
27+
- phone number
28+
- social security number
29+
- state
30+
- tax identification number
31+
- vehicle identification number
32+
- zip code
33+
# PHI
34+
- anatomy
35+
- bacteria
36+
- disease
37+
- drug
38+
- illness
39+
- procedure
40+
- symptom
41+
- test
42+
- treatment
43+
- virus
44+
api_key: null
45+
host: "0.0.0.0"
46+
port: 8080

0 commit comments

Comments
 (0)