Rodrigo1771/cantemist-fasttext-75-ner
Updated • 20
How to use Rodrigo1771/bsc-bio-ehr-es-cantemist-fasttext-75-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Rodrigo1771/bsc-bio-ehr-es-cantemist-fasttext-75-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Rodrigo1771/bsc-bio-ehr-es-cantemist-fasttext-75-ner")
model = AutoModelForTokenClassification.from_pretrained("Rodrigo1771/bsc-bio-ehr-es-cantemist-fasttext-75-ner", device_map="auto")This model is a fine-tuned version of PlanTL-GOB-ES/bsc-bio-ehr-es on the Rodrigo1771/cantemist-fasttext-75-ner dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|---|---|---|---|---|---|---|---|
| 0.0571 | 0.9992 | 616 | 0.0266 | 0.7767 | 0.8492 | 0.8113 | 0.9906 |
| 0.018 | 2.0 | 1233 | 0.0304 | 0.8075 | 0.8476 | 0.8271 | 0.9914 |
| 0.0101 | 2.9992 | 1849 | 0.0356 | 0.8159 | 0.8468 | 0.8311 | 0.9906 |
| 0.0057 | 4.0 | 2466 | 0.0365 | 0.8239 | 0.8460 | 0.8348 | 0.9910 |
| 0.0027 | 4.9992 | 3082 | 0.0396 | 0.8211 | 0.8480 | 0.8343 | 0.9916 |
| 0.0018 | 6.0 | 3699 | 0.0435 | 0.8306 | 0.8633 | 0.8467 | 0.9915 |
| 0.0013 | 6.9992 | 4315 | 0.0478 | 0.8462 | 0.8562 | 0.8512 | 0.9919 |
| 0.0008 | 8.0 | 4932 | 0.0469 | 0.8347 | 0.8614 | 0.8478 | 0.9915 |
| 0.0004 | 8.9992 | 5548 | 0.0515 | 0.8414 | 0.8610 | 0.8511 | 0.9919 |
| 0.0002 | 9.9919 | 6160 | 0.0520 | 0.8386 | 0.8598 | 0.8491 | 0.9918 |
Base model
PlanTL-GOB-ES/bsc-bio-ehr-es