eriktks/conll2003
Updated • 39.1k • 166
How to use EffyLi/bert-base-uncased-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="EffyLi/bert-base-uncased-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("EffyLi/bert-base-uncased-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("EffyLi/bert-base-uncased-finetuned-ner")This model is a fine-tuned version of bert-base-uncased 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 |
|---|---|---|---|---|---|---|---|
| No log | 1.0 | 220 | 0.0809 | 0.8923 | 0.9051 | 0.8987 | 0.9784 |
| No log | 2.0 | 440 | 0.0643 | 0.9108 | 0.9262 | 0.9184 | 0.9817 |
| 0.1657 | 3.0 | 660 | 0.0618 | 0.9145 | 0.9305 | 0.9224 | 0.9826 |