eriktks/conll2003
Updated • 38.3k • 166
How to use schubertcarvalho/bert-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="schubertcarvalho/bert-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("schubertcarvalho/bert-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("schubertcarvalho/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.0758 | 0.8831 | 0.9192 | 0.9008 | 0.9789 |
| 0.1901 | 2.0 | 878 | 0.0572 | 0.9105 | 0.9399 | 0.9250 | 0.9846 |
| 0.0483 | 3.0 | 1317 | 0.0561 | 0.9210 | 0.9443 | 0.9325 | 0.9858 |
Base model
google-bert/bert-base-cased