eriktks/conll2003
Updated • 26.6k • 176
How to use heisenberg3376/roberta-base-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="heisenberg3376/roberta-base-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("heisenberg3376/roberta-base-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("heisenberg3376/roberta-base-finetuned-ner", device_map="auto")This Name Entity Recognition model is a fine-tuned version of FacebookAI/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.0248 | 1.0 | 1756 | 0.0636 | 0.9474 | 0.9547 | 0.9510 | 0.9885 |
| 0.014 | 2.0 | 3512 | 0.0734 | 0.9483 | 0.9578 | 0.9530 | 0.9886 |
| 0.0124 | 3.0 | 5268 | 0.0605 | 0.9502 | 0.9605 | 0.9553 | 0.9898 |
Base model
FacebookAI/roberta-base