Token Classification
Transformers
Safetensors
PyTorch
Spanish
modernbert
ner
pii
pii-detection
de-identification
privacy
healthcare
medical
clinical
phi
spanish
openmed
Eval Results (legacy)
Instructions to use OpenMed/OpenMed-PII-Spanish-GTEMed-Base-149M-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OpenMed/OpenMed-PII-Spanish-GTEMed-Base-149M-v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="OpenMed/OpenMed-PII-Spanish-GTEMed-Base-149M-v1")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("OpenMed/OpenMed-PII-Spanish-GTEMed-Base-149M-v1") model = AutoModelForTokenClassification.from_pretrained("OpenMed/OpenMed-PII-Spanish-GTEMed-Base-149M-v1") - Notebooks
- Google Colab
- Kaggle
| { | |
| "test_accuracy": 0.9929642548370748, | |
| "test_f1": 0.9155816883662328, | |
| "test_loss": 0.02304788865149021, | |
| "test_macro_f1": 0.9228106049879174, | |
| "test_precision": 0.919831223628692, | |
| "test_recall": 0.9113712374581939, | |
| "test_runtime": 2.607, | |
| "test_samples_per_second": 1273.122, | |
| "test_steps_per_second": 19.946, | |
| "test_weighted_f1": 0.9146948110614883 | |
| } |