eriktks/conll2003
Updated • 32.5k • 168
How to use johnyyhk/bert-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="johnyyhk/bert-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("johnyyhk/bert-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("johnyyhk/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 | 88 | 0.3405 | 0.5117 | 0.5833 | 0.5452 | 0.8924 |
| No log | 2.0 | 176 | 0.1943 | 0.6469 | 0.7633 | 0.7003 | 0.9446 |
| No log | 3.0 | 264 | 0.1783 | 0.7087 | 0.7867 | 0.7457 | 0.9508 |