eriktks/conll2003
Updated • 24.4k • 177
How to use YonggnoY/bert-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="YonggnoY/bert-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("YonggnoY/bert-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("YonggnoY/bert-finetuned-ner", device_map="auto")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.0592 | 0.9374 | 0.9369 | 0.9372 | 0.9844 |
| 0.0412 | 2.0 | 878 | 0.0651 | 0.9421 | 0.9368 | 0.9395 | 0.9847 |
| 0.0215 | 3.0 | 1317 | 0.0621 | 0.9408 | 0.9451 | 0.9429 | 0.9855 |
Base model
google-bert/bert-base-cased