/ Модель

Характеристики

Размер весов
1,8 ГБ
Лицензия
Своя лицензия
Библиотека
gliner
Опубликована
29 авг 2025

gliner-PII

Разметка токеновТекст → label7 профессий

Модель NVIDIA на базе GLiNER выявляет и классифицирует персональные и медицинские данные в тексте для последующего контроля и редактирования.

21 258скачиваний за 30 дней165лайковвеса обновлены7 дек 2025

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

GLiNER-PII — модель NVIDIA для обнаружения и классификации персональных и медицинских данных в структурированном и обычном тексте. Она построена на архитектуре GLiNER и дообучена на базе urchade/gliner_large-v2.1; содержит около 570 млн параметров и работает через библиотеку GLiNER на PyTorch.

Модель размечает фрагменты текста более чем по 55 категориям и возвращает найденный текст, тип сущности, позиции начала и конца, а также оценку уверенности. Её применяют для выявления и редактирования конфиденциальных данных в медицинских записях, финансовых и юридических документах, корпоративных хранилищах, журналах и пользовательских публикациях.

Модель принимает текст и выдаёт текстовые аннотации. Карточка указывает английский язык. Лицензия обозначена как other; README заявляет возможность коммерческого и некоммерческого использования. Качество зависит от предметной области, формата данных и порога уверенности: в оценке на трёх наборах строгий F1 составил 0,70 на Argilla PII, 0,64 на AI4Privacy и 0,87 на Nemotron-PII. Для ответственных сценариев рекомендованы проверка на данных конкретного применения и человеческий контроль.

Сценарии применения

  • поиск и редактирование медицинских данных в клинических записях
  • обнаружение персональных данных в банковских и страховых документах
  • выявление конфиденциальной информации в договорах и юридических материалах
  • сканирование корпоративных документов, писем и хранилищ на наличие персональных данных
  • поиск чувствительной информации в журналах и отчетах об инцидентах
  • пометка персональных данных в пользовательских публикациях

Ограничения

Качество зависит от предметной области, формата текста и выбранного порога; на опубликованных наборах строгий F1 варьируется от 0,64 до 0,87. Для ответственных применений рекомендуется проверка на целевых данных и человеческий контроль.

Для каких профессий подходит7

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

GLiNER-PII Model Overview

Description:

GLiNER-PII is inspired by the Gretel GLiNER PII/PHI models. Built on the GLiNER large-v2.1 base, it detects and classifies a broad range of Personally Identifiable Information (PII) and Protected Health Information (PHI) in structured and unstructured text. It is non-generative and produces span-level entity annotations with confidence scores across 55+ categories. This model was developed by NVIDIA.

This model is ready for commercial/non-commercial use.

License/Terms of Use

Use of this model is governed by the NVIDIA Open Model License Agreement.

Deployment Geography:

Global

Use Case:

GLiNER-PII supports detection and redaction of sensitive information across regulated and enterprise scenarios.

  • Healthcare: Redact PHI in clinical notes, reports, and medical documents.
  • Finance: Identify account numbers, SSNs, and transaction details in banking and insurance documents.
  • Legal: Protect client information in contracts, filings, and discovery materials.
  • Enterprise Data Governance: Scan documents, emails, and data stores for sensitive information.
  • Data Privacy Compliance: Support GDPR, HIPAA, and CCPA workflows across varied document types.
  • Cybersecurity: Detect sensitive data in logs, security reports, and incident records.
  • Content Moderation: Flag personal information in user-generated content.

Note: performance varies by domain, format, and threshold, so validation and human review are recommended for high‑stakes deployments.

Release Date:

Hugging Face 10/28/2025 via https://huggingface.co/nvidia/gliner-pii

References:

Model Architecture:

Architecture Type: Transformer

Network Architecture: GLiNER

This model was developed based on urchade/gliner_large-v2.1 Number of model parameters: 5.7 × 10^8

Input:

Input Type(s): Text Input Format: UTF-8 string(s) Input Parameters: One-Dimensional (1D) Other Properties Related to Input: supports structured and unstructured text

Output:

Output Type(s): Text Output Format: String Output Parameters: One-Dimensional (1D) Other Properties Related to Output: List of dictionaries with keys {text, label, start, end, score}

Software Integration:

Runtime Engine(s):

  • PyTorch, GLiNER Python library

Supported Hardware Microarchitecture Compatibility:

  • NVIDIA Ampere
  • NVIDIA Blackwell
  • NVIDIA Hopper
  • NVIDIA Lovelace
  • NVIDIA Pascal
  • NVIDIA Turing
  • NVIDIA Volta
  • CPU (x86_64)

Preferred/Supported Operating System(s):

  • Linux

The integration of foundation and fine-tuned models into AI systems requires additional testing using use-case-specific data to ensure safe and effective deployment. Following the V-model methodology, iterative testing and validation at both unit and system levels are essential to mitigate risks, meet technical and functional requirements, and ensure compliance with safety and ethical standards before deployment.

Model Version(s):

  • nvidia/gliner-pii
  • Version: v1.0

Training and Evaluation Datasets:

Training Dataset

Link: nvidia/nemotron-pii Data Modality: Text Text Training Data Size: ~100k records (~10^5, <1B tokens) Data Collection Method: Synthetic Labeling Method: Synthetic

Properties: Synthetic persona-grounded dataset generated with NVIDIA NeMo Data Designer, spanning 50+ industries and 55+ entity types (U.S. and international formats). Includes both structured and unstructured records. Labels automatically injected during generation.

Evaluation Datasets

Data Collection Method: Hybrid: Automated, Human Labeling Method: Hybrid: Automated, Human

Evaluation Results From the combined evaluation across Argilla, AI4Privacy, and Gretel PII datasets:

BenchmarkStrict F1
Argilla PII0.70
AI4Privacy0.64
nvidia/Nemotron-PII0.87

We evaluated the model using threshold=0.3.

Inference:

Acceleration Engine: PyTorch (via Hugging Face Transformers) Test Hardware: NVIDIA A100 (Ampere, PCIe/SXM)

Usage Recommendation

First, make sure you have the gliner library installed:

pip install gliner

Now, let's try to find an email, SSN, and phone number in a messy block of text.

from gliner import GLiNER
# 1. Define our new text
text = "Hi support, I can't log in! My account username is 'johndoe88'. Every time I try, it says 'invalid credentials'. Please reset my password. You can reach me at (555) 123-4567 or johnd@example.com"

# 2. Define the labels we're hunting for.
labels = ["email", "phone_number", "user_name"]

# 3. Load the PII model
model = GLiNER.from_pretrained("nvidia/gliner-pii")

# 4. Run the prediction at given threshold
entities = model.predict_entities(text, labels, threshold=0.5)

Sample output:

[
  {
    "start": 52, 
    "end": 61, 
    "text": "johndoe88", 
    "label": "user_name",
    "score": 0.99
  },
  {
    "start": 159, 
    "end": 173, 
    "text": "(555) 123-4567", 
    "label": "phone_number", 
    "score": 0.99
  },
  {
    "start": 177, 
    "end": 194, 
    "text": "johnd@example.com", 
    "label": "email", 
    "score": 0.99
  }
]

Ethical Considerations:

NVIDIA believes Trustworthy AI is a shared responsibility and we have established policies and practices to enable development for a wide array of AI applications. When downloaded or used in accordance with our terms of service, developers should work with their internal model team to ensure this model meets requirements for the relevant industry and use case and addresses unforeseen product misuse.

For more detailed information on ethical considerations for this model, please see the Bias, Explainability, Safety & Security, and Privacy Subcards.

Please report model quality, risk, security vulnerabilities or NVIDIA AI Concerns here.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · gliner

Нельзя запустить

Модели GLiNER требуют отдельного рантайма.

Ревизия весов
bd23e8e

0 моделей