all-mpnet-base-v2
sentence-transformers · Kit
Turns sentences and paragraphs into 768-number vectors so you can search, cluster and compare text by meaning. It suits developers and data teams working in En…
Finds personal data such as names, emails, phone numbers and card numbers in text across seven languages, using 42 label types. It suits developers who build redaction and data-cleaning pipelines.
GLiNER2-PII is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install gliner2
GLiNER2-PII takes fastino's GLiNER2 model and tunes it further for personal data. It detects personally identifiable information in text so you can mask it. It knows 42 entity types across 7 languages, and the model was trained on a synthetic corpus of 4,910 annotated texts.
You choose which labels to look for each time you run it. The model conditions on the labels you give, so any subset of the 42 works.
Developers and data teams who must find or hide personal data in text suit it best. It runs from Python.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Compliance | Data governance teams | Find personal data for GDPR or CCPA policy work | Flag names, emails and IDs in documents |
| Machine learning | Data engineers | Clean text before it becomes training data | Mask the exact spans of personal data |
| Legal and medical | Redaction teams | Hide sensitive spans in documents | Mask phone numbers and names in a letter |
Anyone who needs a guarantee of compliance should not rely on it alone, because its own benchmark average F1 is 0.477.
You run it yourself in Python, on Windows, macOS or Linux.
| Use case | Who | What they get back |
|---|---|---|
| PII redaction | Redaction teams | Exact character spans to mask |
| Policy routing | Governance teams | Fine-grained types that map to your own rules |
| Training-data hygiene | Data engineers | Text with personal data masked before training |
| Multi-language pipelines | Global teams | One model for seven languages |
You need Python and the gliner2 package. The model downloads when you load it by name.
pip install gliner2
pip install -U huggingface_hub hf download fastino/gliner2-privacy-filter-PII-multi
Load the model, give it a text and the labels you want, and call extract_entities. The options below ask for a confidence score and the text span of each match.
from gliner2 import GLiNER2
model = GLiNER2.from_pretrained("fastino/gliner2-privacy-filter-PII-multi")
text = "Email john.smith@acme.com or call +1 415 555 0199."
labels = ["email", "phone_number", "person"]
result = model.extract_entities(
text,
labels,
threshold=0.5,
include_confidence=True,
include_spans=True,
)
print(result)| Group | Example labels |
|---|---|
| Names | person, full_name, date_of_birth |
| Contact | email, phone_number, postal_code |
| Government IDs | passport_number, tax_id |
| Banking | iban, card_number |
| Secrets | password, api_key, access_token |
You pass a short message that holds an email address and a phone number, with the labels email, phone_number and person. It returns the matches it finds for those labels, each with a confidence score and its text span.
Think of the model as a highlighter for private details in text. You say which kinds of detail to mark, and it marks them. Your first small try is the quick start above with a sentence of your own.
Under the hood, it is GLiNER2 fine-tuned on synthetic data, and the labels you pass at run time steer what it extracts. The card reports the highest span-level F1 among four compared systems on the SPY benchmark, with recall of 0.718 on average among GLiNER-based detectors.
The benchmark numbers come from the model card and cover legal and medical text only.
Finds personal data such as names, emails, phone numbers and card numbers in text across seven languages, using 42 label types. It suits developers who build redaction and data-cleaning pipelines.
Made by fastino on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.
What it is: GLiNER2-PII takes fastino's GLiNER2 model and tunes it further for personal data. It detects personally identifiable information in text so you can mask it. It knows 42 entity types across 7 languages, and the model was trained on a synthetic corpus of 4,910 annotated texts.
You choose which labels to look for each time you run it. The model conditions on the labels you give, so any subset of the 42 works.
Who it suits: Developers and data teams who must find or hide personal data in text suit it best. It runs from Python.
Industry | Who uses it | How they use it | Example
Compliance | Data governance teams | Find personal data for GDPR or CCPA policy work | Flag names, emails and IDs in documents
Machine learning | Data engineers | Clean text before it becomes training data | Mask the exact spans of personal data
Legal and medical | Redaction teams | Hide sensitive spans in documents | Mask phone numbers and names in a letter
Anyone who needs a guarantee of compliance should not rely on it alone, because its own benchmark average F1 is 0.477.
Where to use it: You run it yourself in Python, on Windows, macOS or Linux.
Use case | Who | What they get back
PII redaction | Redaction teams | Exact character spans to mask
Policy routing | Governance teams | Fine-grained types that map to your own rules
Training-data hygiene | Data engineers | Text with personal data masked before training
Multi-language pipelines | Global teams | One model for seven languages
How to set it up: You need Python and the gliner2 package. The model downloads when you load it by name.
pip install gliner2
pip install -U huggingface_hub
hf download fastino/gliner2-privacy-filter-PII-multi
How to use it: Load the model, give it a text and the labels you want, and call extract_entities. The options below ask for a confidence score and the text span of each match.
from gliner2 import GLiNER2
model = GLiNER2.from_pretrained("fastino/gliner2-privacy-filter-PII-multi")
text = "Email john.smith@acme.com or call +1 415 555 0199."
labels = ["email", "phone_number", "person"]
result = model.extract_entities(
text,
labels,
threshold=0.5,
include_confidence=True,
include_spans=True,
)
print(result)
Title: A few of the 42 labels
Group | Example labels
Names | person, full_name, date_of_birth
Contact | email, phone_number, postal_code
Government IDs | passport_number, tax_id
Banking | iban, card_number
Secrets | password, api_key, access_token
Example: You pass a short message that holds an email address and a phone number, with the labels email, phone_number and person. It returns the matches it finds for those labels, each with a confidence score and its text span.
For newcomers and experts: Think of the model as a highlighter for private details in text. You say which kinds of detail to mark, and it marks them. Your first small try is the quick start above with a sentence of your own.
Under the hood, it is GLiNER2 fine-tuned on synthetic data, and the labels you pass at run time steer what it extracts. The card reports the highest span-level F1 among four compared systems on the SPY benchmark, with recall of 0.718 on average among GLiNER-based detectors.
Your text and a subset of the 42 labels
The model conditions on those labels
Matches come back with spans and scores
You mask the spans you want hidden
Good to know: The benchmark numbers come from the model card and cover legal and medical text only.
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download fastino/gliner2-privacy-filter-PII-multi
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 6 KB
Listed Hugging Face models in the same category that share the most tags with this one.
| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
|---|---|---|---|---|---|
| GLiNER2-PII This page | 132,410 | 115 | 307M | apache-2.0 | |
| UltraBERT-150M-clairic-extractionShares span-extraction · information-extraction · token-classification | 138 | 5 | 151M | apache-2.0 | |
| cbx-indic-pii-extractor-58MShares redaction · privacy · token-classification | 96 | 4 | 57.6M | apache-2.0 | |
| cbx-indic-pii-extractor-17MShares redaction · privacy · token-classification | 76 | 3 | 16.7M | apache-2.0 | |
| GLiNER2 baseShares extractor · gliner2 · safetensors | 353,994 | 106 | 208M | apache-2.0 | |
| GLiNER2.5 BaseShares information-extraction · gliner2 · safetensors | 132,027 | 43 | 194M | apache-2.0 |
sentence-transformers · Kit
Turns sentences and paragraphs into 768-number vectors so you can search, cluster and compare text by meaning. It suits developers and data teams working in En…
intfloat · Kit
Turns text in about 100 languages into vectors so you can compare meaning across them, for search and matching. Made for developers who build multilingual retr…
aldegad · Skill
Turns one base drawing of a character into game-ready sprites, either an atlas with a manifest or transparent motion loops, for game developers working in Code…
foryourhealth111-pixel · Skill
Picks the right skills from a large installed pool and breaks each task into checkable steps for your coding agent. In its own benchmark, mean reward rose 21.1…
elementalsouls · Skill
Gives Claude Code 83 skills and 15 slash commands for bug bounty hunting and authorized red-team work, from web vulnerability classes to enterprise identity at…
bsaleh03 · Kit
Runs Qwen3.8-27B with a vocabulary cut down to ASCII, so a single 16 GB graphics card can hold a much longer prompt. A GGUF build for English text and code wit…