Token Classification
Transformers
Safetensors
PyTorch
Dutch
roberta
ner
pii
pii-detection
de-identification
privacy
healthcare
medical
clinical
phi
dutch
openmed
Eval Results (legacy)
Instructions to use OpenMed/OpenMed-PII-Dutch-FastClinical-Small-82M-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OpenMed/OpenMed-PII-Dutch-FastClinical-Small-82M-v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="OpenMed/OpenMed-PII-Dutch-FastClinical-Small-82M-v1")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("OpenMed/OpenMed-PII-Dutch-FastClinical-Small-82M-v1") model = AutoModelForTokenClassification.from_pretrained("OpenMed/OpenMed-PII-Dutch-FastClinical-Small-82M-v1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download eval_results.json from OpenMed/OpenMed-PII-Dutch-FastClinical-Small-82M-v1: direct link, hf CLI and curl.
- Browser
- Download file 406 Bytes
-
https://huggingface.co/OpenMed/OpenMed-PII-Dutch-FastClinical-Small-82M-v1/resolve/main/eval_results.json
- Command line
-
hf download hf://OpenMed/OpenMed-PII-Dutch-FastClinical-Small-82M-v1/eval_results.json
-
curl -L -o eval_results.json https://huggingface.co/OpenMed/OpenMed-PII-Dutch-FastClinical-Small-82M-v1/resolve/main/eval_results.json
406 Bytes
| { | |
| "epoch": 3.0, | |
| "eval_accuracy": 0.9842943279055494, | |
| "eval_f1": 0.8435847481213471, | |
| "eval_loss": 0.17255768179893494, | |
| "eval_macro_f1": 0.8089460904188281, | |
| "eval_precision": 0.8249863908546543, | |
| "eval_recall": 0.8630410022779044, | |
| "eval_runtime": 1.3375, | |
| "eval_samples_per_second": 2326.734, | |
| "eval_steps_per_second": 18.692, | |
| "eval_weighted_f1": 0.8423394137472547 | |
| } |