Beijuka/Multilingual_PII_NER_dataset
Viewer • Updated • 13k • 10
How to use Beijuka/afroxlmr-large-ner-masakhaner-1.0_2.0-hausa-ner-v1 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Beijuka/afroxlmr-large-ner-masakhaner-1.0_2.0-hausa-ner-v1") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Beijuka/afroxlmr-large-ner-masakhaner-1.0_2.0-hausa-ner-v1")
model = AutoModelForTokenClassification.from_pretrained("Beijuka/afroxlmr-large-ner-masakhaner-1.0_2.0-hausa-ner-v1", device_map="auto")This model is a fine-tuned version of masakhane/afroxlmr-large-ner-masakhaner-1.0_2.0 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.1082 | 0.9331 | 0.7945 | 0.8583 | 0.9646 |
| 0.1429 | 2.0 | 602 | 0.0918 | 0.8991 | 0.9287 | 0.9136 | 0.9764 |
| 0.1429 | 3.0 | 903 | 0.0872 | 0.8847 | 0.9425 | 0.9127 | 0.9767 |
| 0.0629 | 4.0 | 1204 | 0.1017 | 0.8868 | 0.9485 | 0.9166 | 0.9770 |
| 0.0496 | 5.0 | 1505 | 0.1256 | 0.9084 | 0.9155 | 0.9120 | 0.9758 |
| 0.0496 | 6.0 | 1806 | 0.1152 | 0.9004 | 0.9479 | 0.9235 | 0.9781 |
| 0.0349 | 7.0 | 2107 | 0.1266 | 0.8950 | 0.9497 | 0.9215 | 0.9779 |
| 0.0349 | 8.0 | 2408 | 0.1126 | 0.9006 | 0.9443 | 0.9219 | 0.9787 |
| 0.0224 | 9.0 | 2709 | 0.1023 | 0.9138 | 0.9467 | 0.9300 | 0.9805 |
| 0.0114 | 10.0 | 3010 | 0.1535 | 0.8901 | 0.9461 | 0.9172 | 0.9771 |
| 0.0114 | 11.0 | 3311 | 0.1598 | 0.9017 | 0.9509 | 0.9256 | 0.9794 |
| 0.0064 | 12.0 | 3612 | 0.1897 | 0.8906 | 0.9515 | 0.9200 | 0.9781 |