eriktks/conll2003
Updated • 25.4k • 171
How to use nicoheiniger/bert-ner-custom with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="nicoheiniger/bert-ner-custom") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("nicoheiniger/bert-ner-custom")
model = AutoModelForTokenClassification.from_pretrained("nicoheiniger/bert-ner-custom")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.0754 | 1.0 | 1756 | 0.1666 | 0.8592 | 0.8998 | 0.8790 | 0.9678 |
| 0.0349 | 2.0 | 3512 | 0.1794 | 0.8843 | 0.9065 | 0.8953 | 0.9712 |
| 0.0213 | 3.0 | 5268 | 0.1914 | 0.8830 | 0.9125 | 0.8975 | 0.9712 |
Base model
google-bert/bert-base-cased