All models

Literature · OpenMed

OpenMed-PII-SuperClinical-Base-184M-v1

A 184M-parameter DeBERTa-v2 model for detecting personally identifiable information in clinical and general text.

What OpenMed-PII-SuperClinical-Base-184M-v1 is

OpenMed-PII-SuperClinical-Base-184M-v1 is a transformer-based token classification model developed by OpenMed. Fine-tuned from microsoft/deberta-v3-base, it is designed to detect and label Personally Identifiable Information (PII) across unstructured clinical notes, medical records, and general text documents.

The model assists researchers and healthcare data managers in de-identification pipelines to align text processing workflows with regulations such as HIPAA and GDPR. It detects 54 sensitive entity categories spanning identifiers, personal information, contact records, locations, network data, temporal elements, and organisation names.

This tool is designated strictly for research use. It is not a medical device and must not be used for diagnosis, clinical decision-making, or direct medical treatment.

How it works

The model builds on the DeBERTa-v2 architecture (specifically fine-tuned from microsoft/deberta-v3-base) and uses PyTorch and Hugging Face Transformers. It approaches PII detection as a named entity recognition (NER) sequence-labelling task using a Beginning-Inside-Outside (BIO) annotation schema across 106 total labels (53 entity types across BIO states plus an outside tag).

During training, the sequence length was capped at 384 tokens, and a first-token labeling strategy (label_all_tokens=False) was applied using the Transformers Trainer API.

Key facts

Base architecture
DeBERTa-v2 (fine-tuned from microsoft/deberta-v3-base)
Parameter count
184 million
Task
Token classification (Named Entity Recognition)
Modality
Text
Language
English
Training data
NVIDIA Nemotron-PII
Maximum sequence length
384 tokens
Reported Micro F1
0.9550 (on a stratified 2,000-sample test set)

What you can use it for

Clinical note de-identification
Automating the detection and redaction of patient names, medical record numbers, and contact details from electronic health records before sharing data for research.
Regulatory compliance support
Screening datasets to locate sensitive protected health information (PHI) and PII to assist with HIPAA and GDPR data governance requirements.
Dataset pre-processing
Stripping personal and network identifiers such as IP addresses, dates of birth, and social security numbers from text corpora prior to machine learning model pre-training.
PII auditing
Assessing and cataloguing the presence and density of sensitive entity types across archival text document collections.

Run it here

No installation and no GPU of your own: fill in the inputs and it runs on our servers. Results stay in your browser unless you sign in.

Runs on On-demand GPU

Runs on our servers with on-demand compute. A first run needs time to load the model; active capacity can be reused and scales down when idle.

Run this model

OpenMed-PII-SuperClinical-Base-184M-v1

Entities are labelled token by token.

Needs text

Strengths and limits

Good at

  • Achieves an overall Micro F1 score of 0.9550 and overall accuracy of 0.9935 on a 2,000-sample stratified Nemotron-PII test set.
  • Shows high detection accuracy for core identifiers, including an F1 of 0.998 for medical record numbers, 0.997 for IPv4 addresses, and 0.996 for social security numbers.
  • Offers broad coverage across 54 entity types encompassing personal, medical, contact, location, temporal, and financial categories.

Watch out for

  • For research use only: it is not a medical device and must not be used for diagnosis, treatment or any clinical decision.
  • Primarily trained on English text, limiting its effectiveness on multilingual corpora.
  • Exhibits lower recognition accuracy on challenging categories, such as occupation (0.679 F1), gender (0.804 F1), sexuality (0.855 F1), and time (0.873 F1).
  • May generate false negatives, requiring human oversight and verification in safety-critical redaction tasks.
  • Performance may fluctuate depending on domain-specific terminology that differs from the training distribution.

Inputs and outputs

You provide

  • Text

    Entities are labelled token by token.

You get back

  • Labels with confidence scores, highest first.

OpenMed-PII-SuperClinical-Base-184M-v1 API

The same run, from your own code: one HTTP request with an API key, billed in the same credits as the Run button. A fast run answers with its outputs; a longer one answers with a poll_url to read.

bash
curl https://corollary-labs.com/api/v1/models/openmed-openmed-pii-superclinical-base-184m-v1/runs \
  -H "Authorization: Bearer $COROLLARY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "inputs": {
    "text": "<Text>"
  }
}'

Make an API key, then read the models reference.

Licence

Commercial use permitted · apache-2.0

apache-2.0, as the repository declares it. Read by the catalogue intake on 2026-11-28.

Questions

Can I use OpenMed-PII-SuperClinical-Base-184M-v1 commercially?

Commercial use permitted. apache-2.0, as the repository declares it. Read by the catalogue intake on 2026-11-28.

How do I run OpenMed-PII-SuperClinical-Base-184M-v1 without installing anything?

Use the form under “Run it here” on this page: fill in the inputs and press Run model. It runs on our servers on CPU only, typically in 37s, and a run costs about 28 credits. Visitors without an account get 1,000 credits a month.

What entity categories can this model recognise?

The model detects 54 entity types across several groups: identifiers (such as medical record numbers, SSNs, and account numbers), personal details (such as names, dates of birth, and blood types), contact details, locations, network identifiers (such as IPv4 and MAC addresses), temporal items, and company names.

Can this model be used directly for diagnostic or clinical treatment decisions?

No. The model is released strictly for research use and is explicitly not a medical device. It cannot be used for clinical decisions, diagnosis, or patient management.

How should the model be integrated into redaction pipelines?

The model outputs entity labels with confidence scores for input text tokens. It can be run using the standard Hugging Face token-classification pipeline or loaded natively in PyTorch to identify token start and end boundaries, which can then be replaced by redaction placeholders.

What is the token length limit for input text?

The model was trained with a maximum sequence length of 384 tokens.

How to cite it

OpenMed Science. OpenMed-PII-SuperClinical-Base-184M-v1: PII Detection Model. Hugging Face, 2026.

Written from OpenMed-PII-SuperClinical-Base-184M-v1's own documentation (model card). Statements citing a figure that does not appear there are removed before publication. Licence and running details come from our registry.