XLM-RoBERTa Base for Kinyarwanda (xlm_roberta_base_finetuned_kinyarwanda)

Description

xlm_roberta_base_finetuned_kinyarwanda is a ** Kinyarwanda RoBERTa** model obtained by fine-tuning xlm-roberta-base model on Kinyarwanda language texts. It provides better performance than the XLM-RoBERTa on named entity recognition datasets.

Specifically, this model is an xlm-roberta-base model that was fine-tuned on the Kinyarwanda corpus.

Predicted Entities

Download

How to use

embeddings = XlmRoBertaEmbeddings.pretrained("xlm_roberta_base_finetuned_kinyarwanda", "rw") \
      .setInputCols("sentence", "token") \
      .setOutputCol("embeddings")
val embeddings = XlmRoBertaEmbeddings.pretrained("xlm_roberta_base_finetuned_kinyarwanda", "rw")
      .setInputCols("sentence", "token")
      .setOutputCol("embeddings")

Model Information

Model Name: xlm_roberta_base_finetuned_kinyarwanda
Compatibility: Spark NLP 3.3.0+
License: Open Source
Edition: Official
Input Labels: [token, sentence]
Output Labels: [embeddings]
Language: rw
Case sensitive: true

Data Source

https://huggingface.co/Davlan/xlm-roberta-base-finetuned-kinyarwanda

Benchmarking

## Eval results on Test set (F-score, average over 5 runs)

Dataset| XLM-R F1 | rw_roberta F1
-|-|-
[MasakhaNER](https://github.com/masakhane-io/masakhane-ner) | 73.22 | 77.76