eriktks/conll2003
Updated • 39.3k • 166
How to use 0xtimi/bert-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="0xtimi/bert-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("0xtimi/bert-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("0xtimi/bert-finetuned-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 |
|---|---|---|---|---|---|---|---|
| No log | 1.0 | 439 | 0.0713 | 0.8850 | 0.9207 | 0.9025 | 0.9798 |
| 0.194 | 2.0 | 878 | 0.0602 | 0.9166 | 0.9392 | 0.9278 | 0.9838 |
| 0.0484 | 3.0 | 1317 | 0.0592 | 0.9226 | 0.9413 | 0.9319 | 0.9846 |
Base model
google-bert/bert-base-cased