Token Classification
Transformers
Safetensors
PyTorch
Vietnamese
deberta-v2
ner
pii
pii-detection
de-identification
privacy
healthcare
medical
clinical
phi
vietnamese
openmed
Eval Results (legacy)
Instructions to use OpenMed/OpenMed-PII-Vietnamese-SuperClinical-Base-184M-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OpenMed/OpenMed-PII-Vietnamese-SuperClinical-Base-184M-v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="OpenMed/OpenMed-PII-Vietnamese-SuperClinical-Base-184M-v1")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("OpenMed/OpenMed-PII-Vietnamese-SuperClinical-Base-184M-v1") model = AutoModelForTokenClassification.from_pretrained("OpenMed/OpenMed-PII-Vietnamese-SuperClinical-Base-184M-v1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload Vietnamese PII detection model OpenMed-PII-Vietnamese-SuperClinical-Base-184M-v1
7960bf5 verified Download test_results.json from OpenMed/OpenMed-PII-Vietnamese-SuperClinical-Base-184M-v1: direct link, hf CLI and curl.
- Browser
- Download file 388 Bytes
-
https://huggingface.co/OpenMed/OpenMed-PII-Vietnamese-SuperClinical-Base-184M-v1/resolve/main/test_results.json
- Command line
-
hf download hf://OpenMed/OpenMed-PII-Vietnamese-SuperClinical-Base-184M-v1/test_results.json
-
curl -L -o test_results.json https://huggingface.co/OpenMed/OpenMed-PII-Vietnamese-SuperClinical-Base-184M-v1/resolve/main/test_results.json
388 Bytes
| { | |
| "test_accuracy": 0.8777012639876772, | |
| "test_f1": 0.7342724288840263, | |
| "test_loss": 0.45170167088508606, | |
| "test_macro_f1": 0.6669350227484321, | |
| "test_precision": 0.7197533346739058, | |
| "test_recall": 0.7493893502686859, | |
| "test_runtime": 2.5379, | |
| "test_samples_per_second": 1182.091, | |
| "test_steps_per_second": 18.519, | |
| "test_weighted_f1": 0.7321257638025205 | |
| } |