Token Classification
Transformers
Safetensors
PyTorch
Spanish
roberta
ner
pii
pii-detection
de-identification
privacy
healthcare
medical
clinical
phi
spanish
openmed
Eval Results (legacy)
Instructions to use OpenMed/OpenMed-PII-Spanish-SuperMedical-Large-355M-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use OpenMed/OpenMed-PII-Spanish-SuperMedical-Large-355M-v1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="OpenMed/OpenMed-PII-Spanish-SuperMedical-Large-355M-v1")# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("OpenMed/OpenMed-PII-Spanish-SuperMedical-Large-355M-v1") model = AutoModelForTokenClassification.from_pretrained("OpenMed/OpenMed-PII-Spanish-SuperMedical-Large-355M-v1") - Notebooks
- Google Colab
- Kaggle
| { | |
| "test_accuracy": 0.994738097367558, | |
| "test_f1": 0.9346186085498742, | |
| "test_loss": 0.01693236082792282, | |
| "test_macro_f1": 0.9403247420280537, | |
| "test_precision": 0.9369747899159664, | |
| "test_recall": 0.9322742474916388, | |
| "test_runtime": 3.3433, | |
| "test_samples_per_second": 992.733, | |
| "test_steps_per_second": 31.107, | |
| "test_weighted_f1": 0.9336543539734077 | |
| } |