Token Classification
GLiNER2
ONNX
GLiNER
Rust
pii
ner
privacy
redaction
information-extraction
span-extraction
iobinding
Instructions to use SemplificaAI/gliner2-privacy-filter-PII-multi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER2
How to use SemplificaAI/gliner2-privacy-filter-PII-multi with GLiNER2:
from gliner2 import GLiNER2 model = GLiNER2.from_pretrained("SemplificaAI/gliner2-privacy-filter-PII-multi") # Extract entities text = "Apple CEO Tim Cook announced iPhone 15 in Cupertino yesterday." result = extractor.extract_entities(text, ["company", "person", "product", "location"]) print(result) - GLiNER
How to use SemplificaAI/gliner2-privacy-filter-PII-multi with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("SemplificaAI/gliner2-privacy-filter-PII-multi") - Notebooks
- Google Colab
- Kaggle
Restructure into fp16_v2/ and fp32_v2/ subfolders (required by gliner2-rs from_pretrained)
Browse files- .gitattributes +2 -1
- classifier_fp16.onnx β fp16_v2/classifier_fp16.onnx +0 -0
- classifier_fp16_iobinding.onnx β fp16_v2/classifier_fp16_iobinding.onnx +0 -0
- count_lstm_fixed_fp16.onnx β fp16_v2/count_lstm_fixed_fp16.onnx +0 -0
- count_lstm_fixed_fp16_iobinding.onnx β fp16_v2/count_lstm_fixed_fp16_iobinding.onnx +0 -0
- count_pred_argmax_fp16.onnx β fp16_v2/count_pred_argmax_fp16.onnx +0 -0
- count_pred_argmax_fp16_iobinding.onnx β fp16_v2/count_pred_argmax_fp16_iobinding.onnx +0 -0
- encoder_fp16.onnx β fp16_v2/encoder_fp16.onnx +0 -0
- encoder_fp16_iobinding.onnx β fp16_v2/encoder_fp16_iobinding.onnx +0 -0
- schema_gather_fp16.onnx β fp16_v2/schema_gather_fp16.onnx +0 -0
- schema_gather_fp16_iobinding.onnx β fp16_v2/schema_gather_fp16_iobinding.onnx +0 -0
- scorer_fp16.onnx β fp16_v2/scorer_fp16.onnx +0 -0
- scorer_fp16_iobinding.onnx β fp16_v2/scorer_fp16_iobinding.onnx +0 -0
- span_rep_fp16.onnx β fp16_v2/span_rep_fp16.onnx +0 -0
- span_rep_fp16_iobinding.onnx β fp16_v2/span_rep_fp16_iobinding.onnx +0 -0
- token_gather_fp16.onnx β fp16_v2/token_gather_fp16.onnx +0 -0
- token_gather_fp16_iobinding.onnx β fp16_v2/token_gather_fp16_iobinding.onnx +0 -0
- tokenizer.json β fp16_v2/tokenizer.json +0 -0
- classifier_fp32.onnx β fp32_v2/classifier_fp32.onnx +0 -0
- count_lstm_fixed_fp32.onnx β fp32_v2/count_lstm_fixed_fp32.onnx +0 -0
- count_pred_argmax_fp32.onnx β fp32_v2/count_pred_argmax_fp32.onnx +0 -0
- encoder_fp32.onnx β fp32_v2/encoder_fp32.onnx +0 -0
- schema_gather_fp32.onnx β fp32_v2/schema_gather_fp32.onnx +0 -0
- scorer_fp32.onnx β fp32_v2/scorer_fp32.onnx +0 -0
- span_rep_fp32.onnx β fp32_v2/span_rep_fp32.onnx +0 -0
- token_gather_fp32.onnx β fp32_v2/token_gather_fp32.onnx +0 -0
- fp32_v2/tokenizer.json +3 -0
.gitattributes
CHANGED
|
@@ -34,4 +34,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 34 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 36 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 37 |
-
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 34 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 36 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
fp16_v2/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
fp32_v2/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
classifier_fp16.onnx β fp16_v2/classifier_fp16.onnx
RENAMED
|
File without changes
|
classifier_fp16_iobinding.onnx β fp16_v2/classifier_fp16_iobinding.onnx
RENAMED
|
File without changes
|
count_lstm_fixed_fp16.onnx β fp16_v2/count_lstm_fixed_fp16.onnx
RENAMED
|
File without changes
|
count_lstm_fixed_fp16_iobinding.onnx β fp16_v2/count_lstm_fixed_fp16_iobinding.onnx
RENAMED
|
File without changes
|
count_pred_argmax_fp16.onnx β fp16_v2/count_pred_argmax_fp16.onnx
RENAMED
|
File without changes
|
count_pred_argmax_fp16_iobinding.onnx β fp16_v2/count_pred_argmax_fp16_iobinding.onnx
RENAMED
|
File without changes
|
encoder_fp16.onnx β fp16_v2/encoder_fp16.onnx
RENAMED
|
File without changes
|
encoder_fp16_iobinding.onnx β fp16_v2/encoder_fp16_iobinding.onnx
RENAMED
|
File without changes
|
schema_gather_fp16.onnx β fp16_v2/schema_gather_fp16.onnx
RENAMED
|
File without changes
|
schema_gather_fp16_iobinding.onnx β fp16_v2/schema_gather_fp16_iobinding.onnx
RENAMED
|
File without changes
|
scorer_fp16.onnx β fp16_v2/scorer_fp16.onnx
RENAMED
|
File without changes
|
scorer_fp16_iobinding.onnx β fp16_v2/scorer_fp16_iobinding.onnx
RENAMED
|
File without changes
|
span_rep_fp16.onnx β fp16_v2/span_rep_fp16.onnx
RENAMED
|
File without changes
|
span_rep_fp16_iobinding.onnx β fp16_v2/span_rep_fp16_iobinding.onnx
RENAMED
|
File without changes
|
token_gather_fp16.onnx β fp16_v2/token_gather_fp16.onnx
RENAMED
|
File without changes
|
token_gather_fp16_iobinding.onnx β fp16_v2/token_gather_fp16_iobinding.onnx
RENAMED
|
File without changes
|
tokenizer.json β fp16_v2/tokenizer.json
RENAMED
|
File without changes
|
classifier_fp32.onnx β fp32_v2/classifier_fp32.onnx
RENAMED
|
File without changes
|
count_lstm_fixed_fp32.onnx β fp32_v2/count_lstm_fixed_fp32.onnx
RENAMED
|
File without changes
|
count_pred_argmax_fp32.onnx β fp32_v2/count_pred_argmax_fp32.onnx
RENAMED
|
File without changes
|
encoder_fp32.onnx β fp32_v2/encoder_fp32.onnx
RENAMED
|
File without changes
|
schema_gather_fp32.onnx β fp32_v2/schema_gather_fp32.onnx
RENAMED
|
File without changes
|
scorer_fp32.onnx β fp32_v2/scorer_fp32.onnx
RENAMED
|
File without changes
|
span_rep_fp32.onnx β fp32_v2/span_rep_fp32.onnx
RENAMED
|
File without changes
|
token_gather_fp32.onnx β fp32_v2/token_gather_fp32.onnx
RENAMED
|
File without changes
|
fp32_v2/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f6df10ec83bea993035b2dd7c39345a3d4fcf23421c2adb6cb4ffc1e6d1bc4b5
|
| 3 |
+
size 16020604
|