Token Classification
GLiNER2
Safetensors
GLiNER
extractor
pii
ner
privacy
redaction
safety
moderation
guardrails
information-extraction
span-extraction
text-classification
multi-label-classification
jailbreak-detection
toxicity-classification
Instructions to use fastino/GLiNER2-Guardrails-PII-Multi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER2
How to use fastino/GLiNER2-Guardrails-PII-Multi with GLiNER2:
from gliner2 import GLiNER2 model = GLiNER2.from_pretrained("fastino/GLiNER2-Guardrails-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 fastino/GLiNER2-Guardrails-PII-Multi with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("fastino/GLiNER2-Guardrails-PII-Multi") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -50,7 +50,7 @@ pipeline_tag: token-classification
|
|
| 50 |
|
| 51 |
**`fastino/GLiNER2-Guardrails-PII-Multi`** is a single [GLiNER2](https://github.com/fastino-ai/GLiNER2) model that combines two capabilities in one checkpoint:
|
| 52 |
|
| 53 |
-
1. **LLM safety moderation**: schema-conditioned guardrails for prompt/response safety, toxicity, jailbreak detection, and refusal classification (from [GLiGuard](https://huggingface.co/fastino/gliguard-LLMGuardrails-300M)).
|
| 54 |
2. **PII detection & masking**: multilingual span-level extraction across 42 entity types (from [GLiNER2-PII](https://huggingface.co/fastino/gliner2-privacy-filter-PII-multi)).
|
| 55 |
|
| 56 |
It is a fine-tune of GLiNER2 trained jointly on the **GLiGuard** and **fastino/gliner2-privacy-filter-PII-multi** datasets. The model is **multilingual** and its performance is **on par with the individual GLiGuard and GLiNER2-PII models** on their respective tasks, letting you replace two models with one.
|
|
|
|
| 50 |
|
| 51 |
**`fastino/GLiNER2-Guardrails-PII-Multi`** is a single [GLiNER2](https://github.com/fastino-ai/GLiNER2) model that combines two capabilities in one checkpoint:
|
| 52 |
|
| 53 |
+
1. **LLM guardrails & safety moderation**: schema-conditioned guardrails for prompt/response safety, toxicity, jailbreak detection, and refusal classification (from [GLiGuard](https://huggingface.co/fastino/gliguard-LLMGuardrails-300M)).
|
| 54 |
2. **PII detection & masking**: multilingual span-level extraction across 42 entity types (from [GLiNER2-PII](https://huggingface.co/fastino/gliner2-privacy-filter-PII-multi)).
|
| 55 |
|
| 56 |
It is a fine-tune of GLiNER2 trained jointly on the **GLiGuard** and **fastino/gliner2-privacy-filter-PII-multi** datasets. The model is **multilingual** and its performance is **on par with the individual GLiGuard and GLiNER2-PII models** on their respective tasks, letting you replace two models with one.
|