Beijuka/Multilingual_PII_NER_dataset
Viewer • Updated • 13k • 10
How to use Beijuka/multilingual-xlm-roberta-base-hausa-ner-v1 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Beijuka/multilingual-xlm-roberta-base-hausa-ner-v1") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Beijuka/multilingual-xlm-roberta-base-hausa-ner-v1")
model = AutoModelForTokenClassification.from_pretrained("Beijuka/multilingual-xlm-roberta-base-hausa-ner-v1", device_map="auto")This model is a fine-tuned version of xlm-roberta-base on the Beijuka/Multilingual_PII_NER_dataset 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 |
|---|---|---|---|---|---|---|---|
| No log | 1.0 | 301 | 0.1319 | 0.8332 | 0.8412 | 0.8372 | 0.9625 |
| 0.2262 | 2.0 | 602 | 0.0973 | 0.8845 | 0.9089 | 0.8966 | 0.9722 |
| 0.2262 | 3.0 | 903 | 0.0965 | 0.8709 | 0.9095 | 0.8898 | 0.9752 |
| 0.0754 | 4.0 | 1204 | 0.1045 | 0.8813 | 0.9431 | 0.9111 | 0.9757 |
| 0.0515 | 5.0 | 1505 | 0.0787 | 0.9229 | 0.9389 | 0.9308 | 0.9793 |
| 0.0515 | 6.0 | 1806 | 0.0928 | 0.9192 | 0.9401 | 0.9295 | 0.9798 |
| 0.0355 | 7.0 | 2107 | 0.1027 | 0.8952 | 0.9515 | 0.9225 | 0.9791 |
| 0.0355 | 8.0 | 2408 | 0.1348 | 0.8933 | 0.9335 | 0.9130 | 0.9773 |
Base model
FacebookAI/xlm-roberta-base