unimelb-nlp/wikiann
Viewer • Updated • 2M • 13.5k • 124
How to use Gladiator/albert-large-v2_ner_wikiann with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Gladiator/albert-large-v2_ner_wikiann") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Gladiator/albert-large-v2_ner_wikiann")
model = AutoModelForTokenClassification.from_pretrained("Gladiator/albert-large-v2_ner_wikiann")This model is a fine-tuned version of albert-large-v2 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.3451 | 1.0 | 2500 | 0.3555 | 0.7745 | 0.7850 | 0.7797 | 0.9067 |
| 0.2995 | 2.0 | 5000 | 0.2927 | 0.7932 | 0.8240 | 0.8083 | 0.9205 |
| 0.252 | 3.0 | 7500 | 0.2936 | 0.8094 | 0.8236 | 0.8164 | 0.9239 |
| 0.1676 | 4.0 | 10000 | 0.3302 | 0.8256 | 0.8359 | 0.8307 | 0.9268 |
| 0.1489 | 5.0 | 12500 | 0.3416 | 0.8240 | 0.8375 | 0.8307 | 0.9270 |