unimelb-nlp/wikiann
Viewer • Updated • 2M • 14.6k • 124
How to use Gladiator/bert-large-uncased_ner_wikiann with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Gladiator/bert-large-uncased_ner_wikiann") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Gladiator/bert-large-uncased_ner_wikiann")
model = AutoModelForTokenClassification.from_pretrained("Gladiator/bert-large-uncased_ner_wikiann", device_map="auto")This model is a fine-tuned version of bert-large-uncased 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.3146 | 1.0 | 1250 | 0.2545 | 0.7956 | 0.8372 | 0.8159 | 0.9285 |
| 0.1973 | 2.0 | 2500 | 0.2438 | 0.8267 | 0.8546 | 0.8404 | 0.9349 |
| 0.1181 | 3.0 | 3750 | 0.2637 | 0.8320 | 0.8588 | 0.8452 | 0.9374 |
| 0.0647 | 4.0 | 5000 | 0.3175 | 0.8389 | 0.8627 | 0.8507 | 0.9387 |
| 0.0443 | 5.0 | 6250 | 0.3373 | 0.8384 | 0.8609 | 0.8495 | 0.9379 |