How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("token-classification", model="KindLab/distilbert-deid")
# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification

tokenizer = AutoTokenizer.from_pretrained("KindLab/distilbert-deid")
model = AutoModelForTokenClassification.from_pretrained("KindLab/distilbert-deid")
Quick Links

Protected health information (PHI) anonymization tool. Fine-tuned on the i2b2 2014 training dataset from the pretrained distilbert-base-cased model.

Anonymizes according to the i2b2 2014 standard, including all ages, locations and organizations, dates (including lone years), names, professions, identification numbers, and contact information.

Model released with the approval of Informatics for Integrating Biology & the Bedside.

Downloads last month
6
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support