eriktks/conll2003
Updated • 31.4k • 170
How to use Nonzerophilip/bert-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Nonzerophilip/bert-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Nonzerophilip/bert-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("Nonzerophilip/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 | 125 | 0.2188 | 0.6221 | 0.6985 | 0.6581 | 0.9285 |
| No log | 2.0 | 250 | 0.1396 | 0.7681 | 0.8402 | 0.8025 | 0.9590 |
| No log | 3.0 | 375 | 0.1286 | 0.7979 | 0.8601 | 0.8278 | 0.9614 |