eriktks/conll2003
Updated • 30k • 170
How to use Sadashiv/BERT-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Sadashiv/BERT-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Sadashiv/BERT-ner")
model = AutoModelForTokenClassification.from_pretrained("Sadashiv/BERT-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 |
|---|---|---|---|---|---|---|---|
| 0.0252 | 1.0 | 878 | 0.0652 | 0.9414 | 0.9419 | 0.9417 | 0.9854 |
| 0.0121 | 2.0 | 1756 | 0.0615 | 0.9407 | 0.9498 | 0.9452 | 0.9867 |
| 0.0079 | 3.0 | 2634 | 0.0664 | 0.9449 | 0.9516 | 0.9482 | 0.9872 |
Base model
google-bert/bert-base-uncased