unimelb-nlp/wikiann
Viewer • Updated • 2M • 44.5k • 121
How to use Gladiator/roberta-large_ner_wikiann with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Gladiator/roberta-large_ner_wikiann") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Gladiator/roberta-large_ner_wikiann")
model = AutoModelForTokenClassification.from_pretrained("Gladiator/roberta-large_ner_wikiann")# Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Gladiator/roberta-large_ner_wikiann")
model = AutoModelForTokenClassification.from_pretrained("Gladiator/roberta-large_ner_wikiann")This model is a fine-tuned version of roberta-large 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.3395 | 1.0 | 1250 | 0.2652 | 0.8039 | 0.8308 | 0.8171 | 0.9242 |
| 0.2343 | 2.0 | 2500 | 0.2431 | 0.8354 | 0.8503 | 0.8428 | 0.9329 |
| 0.1721 | 3.0 | 3750 | 0.2315 | 0.8330 | 0.8503 | 0.8416 | 0.9352 |
| 0.1156 | 4.0 | 5000 | 0.2709 | 0.8477 | 0.8634 | 0.8554 | 0.9385 |
| 0.1026 | 5.0 | 6250 | 0.2783 | 0.8463 | 0.8634 | 0.8548 | 0.9382 |
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Gladiator/roberta-large_ner_wikiann")