eriktks/conll2003
Updated • 39.1k • 166
How to use Mhammad2023/bert-finetuned-ner-torch with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Mhammad2023/bert-finetuned-ner-torch") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Mhammad2023/bert-finetuned-ner-torch")
model = AutoModelForTokenClassification.from_pretrained("Mhammad2023/bert-finetuned-ner-torch")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.0747 | 1.0 | 1756 | 0.0645 | 0.8993 | 0.9347 | 0.9167 | 0.9813 |
| 0.0337 | 2.0 | 3512 | 0.0653 | 0.9274 | 0.9465 | 0.9369 | 0.9848 |
| 0.0233 | 3.0 | 5268 | 0.0630 | 0.9370 | 0.9507 | 0.9438 | 0.9864 |
Base model
google-bert/bert-base-cased