unimelb-nlp/wikiann
Viewer • Updated • 2M • 17.3k • 123
How to use Ravindra001/bert-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Ravindra001/bert-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Ravindra001/bert-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("Ravindra001/bert-finetuned-ner")This model is a fine-tuned version of bert-base-cased on the wikiann 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.2821 | 1.0 | 2500 | 0.2906 | 0.7983 | 0.8227 | 0.8103 | 0.9193 |
| 0.2087 | 2.0 | 5000 | 0.2614 | 0.8030 | 0.8379 | 0.8201 | 0.9257 |
| 0.1404 | 3.0 | 7500 | 0.3217 | 0.8196 | 0.8445 | 0.8319 | 0.9269 |