Views
No views yet
Davlan/afro-xlmr-mini model.
It supports token classification for low-resource African languages.1from transformers import AutoTokenizer, AutoModelForTokenClassification
2
3tokenizer = AutoTokenizer.from_pretrained("your-username/afroxlmr-pos")
4model = AutoModelForTokenClassification.from_pretrained("your-username/afroxlmr-pos")
5
6
7We have fine tune the pretrained model with another architechture and we had obtained a higher precision , recall and F1 score. For the training and dev data we have split our own data into train and dev and we have use their test set to get the final performance.
8
9## Data Set
10
11Our own Data : https://github.com/hausanlp/HERDPhobia
12Their Data : https://github.com/masakhane-io/masakhane-pos
13
14## Precision - 0.914
15## Recall - 0.909
16## F1 - 0.912
17## loss - 1.27