NER Models for Amharic, Tigrigna and Afan-Oromo Languages
Collection
3 items • Updated
How to use Elu-dan/afri-berta-tigrigna with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("token-classification", model="Elu-dan/afri-berta-tigrigna") # Load model directly
from transformers import AutoTokenizer, AutoModelForTokenClassification
tokenizer = AutoTokenizer.from_pretrained("Elu-dan/afri-berta-tigrigna")
model = AutoModelForTokenClassification.from_pretrained("Elu-dan/afri-berta-tigrigna", device_map="auto")This model is a fine-tuned version of castorini/afriberta_base on the None 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.1746 | 1.0 | 286 | 0.1831 | 0.6558 | 0.6617 | 0.6587 | 0.9408 |
| 0.1317 | 2.0 | 572 | 0.1671 | 0.6651 | 0.7194 | 0.6912 | 0.9445 |
| 0.1011 | 3.0 | 858 | 0.1604 | 0.7133 | 0.7254 | 0.7193 | 0.9507 |
| 0.0833 | 4.0 | 1144 | 0.1679 | 0.7046 | 0.7572 | 0.7300 | 0.9514 |
| 0.059 | 5.0 | 1430 | 0.1681 | 0.7185 | 0.7592 | 0.7383 | 0.9528 |
Base model
castorini/afriberta_base