eriktks/conll2003
Updated • 22.2k • 176
How to use Adnan2942/bert-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Adnan2942/bert-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Adnan2942/bert-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("Adnan2942/bert-finetuned-ner", device_map="auto")This model is a fine-tuned version of bert-base-cased on an unknown 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 | Accuracy | Precision | Recall | F1 score |
|---|---|---|---|---|---|---|---|
| 0.0238 | 1.0 | 1756 | 0.0687 | 0.9853 | 0.9290 | 0.9463 | 0.9376 |
| 0.0189 | 2.0 | 3512 | 0.0653 | 0.9867 | 0.9368 | 0.9498 | 0.9433 |
| 0.0113 | 3.0 | 5268 | 0.0650 | 0.9872 | 0.9399 | 0.9536 | 0.9467 |
Base model
google-bert/bert-base-cased