Run this model with HF Jobs

Run OpenMed/OpenMed-PII-Chinese-ModernMed-Large-395M-v1 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/OpenMed/OpenMed-PII-Chinese-ModernMed-Large-395M-v1. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/OpenMed/OpenMed-PII-Chinese-ModernMed-Large-395M-v1 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
OpenMed-PII-Chinese-ModernMed-Large-395M-v1 / classification_report.txt
MaziyarPanahi's picture
Upload Chinese PII detection model OpenMed-PII-Chinese-ModernMed-Large-395M-v1
0a578e0 verified
Raw History Blame Contribute Delete
3.05 kB
Classification Report for Chinese PII Detection
Model: answerdotai/ModernBERT-large
============================================================
precision recall f1-score support
ACCOUNTNAME 0.73 0.88 0.80 477
AGE 0.68 0.62 0.65 246
AMOUNT 0.44 0.56 0.50 767
BANKACCOUNT 0.92 0.91 0.91 1612
BITCOINADDRESS 1.00 0.43 0.60 49
BUILDINGNUMBER 0.40 0.34 0.36 391
CITY 0.39 0.41 0.40 548
COUNTY 0.21 0.36 0.27 184
CREDITCARD 0.00 0.00 0.00 35
CREDITCARDISSUER 0.00 0.00 0.00 6
CURRENCY 0.00 0.00 0.00 141
CURRENCYCODE 0.49 0.63 0.55 52
CURRENCYNAME 0.07 0.12 0.09 8
CURRENCYSYMBOL 0.22 0.24 0.23 118
DATE 0.69 0.64 0.66 663
DATEOFBIRTH 0.39 0.35 0.37 43
EMAIL 0.99 0.99 0.99 2255
EYECOLOR 0.00 0.00 0.00 0
FIRSTNAME 0.92 0.88 0.90 2746
GENDER 0.96 0.84 0.89 79
HEIGHT 0.19 0.22 0.21 18
IBAN 0.87 0.62 0.73 278
IMEI 0.96 1.00 0.98 26
IPADDRESS 0.94 1.00 0.97 65
JOBDEPARTMENT 0.75 0.86 0.80 424
JOBTITLE 0.42 0.24 0.30 259
LASTNAME 0.90 0.91 0.91 2865
MASKEDNUMBER 0.55 0.56 0.55 375
MIDDLENAME 0.50 0.42 0.45 12
OCCUPATION 0.12 0.01 0.01 252
ORDINALDIRECTION 0.11 0.04 0.06 90
ORGANIZATION 0.44 0.44 0.44 823
PASSWORD 0.84 0.88 0.86 67
PHONE 0.98 0.98 0.98 459
PIN 0.95 0.91 0.93 148
PREFIX 0.89 0.98 0.94 1741
SECONDARYADDRESS 0.11 0.23 0.15 31
SEX 0.00 0.00 0.00 4
SSN 0.86 0.89 0.88 692
STATE 0.03 0.03 0.03 72
STREET 0.18 0.28 0.22 343
TIME 0.35 0.38 0.37 384
USERNAME 0.66 0.20 0.30 711
VIN 0.00 0.00 0.00 32
VRM 0.26 0.79 0.39 28
ZIPCODE 1.00 0.99 1.00 103
micro avg 0.76 0.75 0.75 20722
macro avg 0.51 0.50 0.49 20722
weighted avg 0.76 0.75 0.75 20722