eriktks/conll2003
Updated • 39.4k • 166
How to use shed-e/NER with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="shed-e/NER") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("shed-e/NER")
model = AutoModelForTokenClassification.from_pretrained("shed-e/NER")This model is a fine-tuned version of bert-base-cased 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.0888 | 1.0 | 1756 | 0.0636 | 0.9195 | 0.9366 | 0.9280 | 0.9830 |
| 0.0331 | 2.0 | 3512 | 0.0667 | 0.9272 | 0.9490 | 0.9380 | 0.9855 |
| 0.0167 | 3.0 | 5268 | 0.0637 | 0.9335 | 0.9500 | 0.9417 | 0.9862 |