unimelb-nlp/wikiann
Viewer • Updated • 2M • 21.8k • 124
How to use Andrey1989/xlmr-finetuned-ner with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Andrey1989/xlmr-finetuned-ner") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Andrey1989/xlmr-finetuned-ner")
model = AutoModelForTokenClassification.from_pretrained("Andrey1989/xlmr-finetuned-ner", device_map="auto")This model is a fine-tuned version of xlm-roberta-base 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.4215 | 1.0 | 938 | 0.1650 | 0.8822 | 0.8781 | 0.8802 | 0.9529 |
| 0.1559 | 2.0 | 1876 | 0.1412 | 0.9018 | 0.9071 | 0.9045 | 0.9631 |
| 0.1051 | 3.0 | 2814 | 0.1395 | 0.9044 | 0.9137 | 0.9090 | 0.9649 |