eriktks/conll2003
Updated • 23.5k • 175
How to use maisam/roberta-base-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="maisam/roberta-base-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("maisam/roberta-base-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("maisam/roberta-base-finetuned-ner", device_map="auto")This model is a fine-tuned version of roberta-base on the conll2003 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.2066 | 1.0 | 878 | 0.0699 | 0.9226 | 0.9294 | 0.9260 | 0.9828 |
| 0.0486 | 2.0 | 1756 | 0.0569 | 0.9465 | 0.9549 | 0.9507 | 0.9878 |
| 0.0254 | 3.0 | 2634 | 0.0497 | 0.9510 | 0.9602 | 0.9556 | 0.9892 |