eriktks/conll2002
Updated • 3.08k • 11
How to use raulgdp/Plant-gob-roberta-base-bne-capitel-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="raulgdp/Plant-gob-roberta-base-bne-capitel-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("raulgdp/Plant-gob-roberta-base-bne-capitel-ner")
model = AutoModelForTokenClassification.from_pretrained("raulgdp/Plant-gob-roberta-base-bne-capitel-ner", device_map="auto")Este modelo fue afinado sobre el modelo BSC-LT/roberta-base-bne-capitel-ner sobre conll2002 dataset con un batch_size de 16 logrando la siguiente precisión.
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.0681 | 1.0 | 521 | 0.0818 | 0.8645 | 0.8842 | 0.8742 | 0.9789 |
| 0.0313 | 2.0 | 1042 | 0.0841 | 0.8516 | 0.8768 | 0.8640 | 0.9779 |
| 0.0179 | 3.0 | 1563 | 0.0979 | 0.8584 | 0.8773 | 0.8677 | 0.9781 |
| 0.0091 | 4.0 | 2084 | 0.0996 | 0.8600 | 0.8819 | 0.8708 | 0.9784 |
| 0.0068 | 5.0 | 2605 | 0.1071 | 0.8628 | 0.8826 | 0.8726 | 0.9785 |