eriktks/conll2003
Updated • 41.4k • 166
How to use fahmiaziz/bert-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="fahmiaziz/bert-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("fahmiaziz/bert-ner")
model = AutoModelForTokenClassification.from_pretrained("fahmiaziz/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.2234 | 1.0 | 878 | 0.0648 | 0.9110 | 0.9327 | 0.9217 | 0.9821 |
| 0.0443 | 2.0 | 1756 | 0.0552 | 0.9345 | 0.9432 | 0.9388 | 0.9854 |
| 0.0258 | 3.0 | 2634 | 0.0571 | 0.9385 | 0.9451 | 0.9418 | 0.9856 |
| 0.0139 | 4.0 | 3512 | 0.0623 | 0.9413 | 0.9500 | 0.9456 | 0.9863 |
| 0.0098 | 5.0 | 4390 | 0.0648 | 0.9420 | 0.9513 | 0.9466 | 0.9864 |
Base model
google-bert/bert-base-uncased