Hailay commited on
Commit
a76c508
1 Parent(s): 2cec33f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +35 -10
README.md CHANGED
@@ -1,27 +1,52 @@
1
  ---
2
  license: apache-2.0
 
 
 
3
  language:
4
- - ti
5
  - am
 
 
 
 
 
 
 
 
 
6
 
7
- Model Card
8
 
9
- EXLMR has been designed with specific support for underrepresented languages, particularly those spoken in Ethiopia (such as Amharic, Tigrinya, and Afaan Oromo). Like XLM-RoBERTa, EXLMR can be finetuned to handle multiple languages simultaneously, making it effective for cross-lingual tasks such as machine translation, multilingual text classification, and question answering.EXLMR-base follows the same architecture as RoBERTa-base, with 12 layers, 768 hidden dimensions, and 12 attention heads, totaling approximately 270M parameters.
10
 
 
11
 
12
- Use Cases:
13
 
14
- #Text Classification: This can be fine-tuned for text classification tasks in Ethiopian languages.
 
 
 
15
 
16
- #Machine Translation: Useful for building machine translation models between Ethiopian and other languages.
17
 
18
- #Named Entity Recognition (NER): This can be applied to entity recognition tasks for low-resource languages like Amharic and Tigrinya.
19
 
20
- #Question Answering: Fine-tuned for multilingual question-answering tasks, supporting cross-lingual information retrieval
 
 
 
 
 
 
21
 
 
 
 
 
 
 
22
 
23
  |Model|Vocabulary Size|
24
  |---|---|
25
  |XLM-Roberta|250002|
26
- |EXLMR|280147|
27
-
 
1
  ---
2
  license: apache-2.0
3
+ datasets:
4
+ - Hailay/TigQA
5
+ - masakhane/masakhaner2
6
  language:
 
7
  - am
8
+ - ti
9
+ metrics:
10
+ - accuracy
11
+ - f1
12
+ base_model:
13
+ - FacebookAI/xlm-roberta-base
14
+ pipeline_tag: zero-shot-classification
15
+ library_name: transformers
16
+ ---
17
 
18
+ # XLM-R and EXLMR Model
19
 
20
+ ## Model Overview
21
 
22
+ The **XLM-R** (Cross-lingual Language Model - RoBERTa) is a multilingual model trained on 100 languages. The **EXLMR** (Extended XLM-RoBERTa) is an extended version designed to improve performance on low-resource languages spoken in Ethiopia, including Amharic, Tigrinya, and Afaan Oromo.
23
 
24
+ ## Model Details
25
 
26
+ - **Base Model**: XLM-R
27
+ - **Extended Version**: EXLMR
28
+ - **Languages Supported**: Amharic, Tigrinya, Afaan Oromo, and more
29
+ - **Training Data**: Trained on a large multilingual corpus
30
 
31
+ ## Usage
32
 
 
33
 
34
+ EXLMR addresses tokenization issues inherent to the XLM-R model, such as out-of-vocabulary (OOV) tokens and over-tokenization, especially for low-resource languages.
35
+ Fine-tuning on specific datasets will help adapt the model to particular tasks and improve its performance.You can use this model with the `transformers` library for various NLP tasks.
36
+ ```python
37
+ from transformers import AutoTokenizer, AutoModelForSequenceClassification
38
+ import torch
39
+ # Define the model checkpoint
40
+ checkpoint = "Hailay/EXLMR"
41
 
42
+ # Load the tokenizer and model
43
+ tokenizer = AutoTokenizer.from_pretrained(checkpoint)
44
+ model = AutoModelForSequenceClassification.from_pretrained(checkpoint)
45
+
46
+
47
+ EXLMR has been designed with specific support for underrepresented languages, particularly those spoken in Ethiopia (such as Amharic, Tigrinya, and Afaan Oromo). Like XLM-RoBERTa, EXLMR can be finetuned to handle multiple languages simultaneously, making it effective for cross-lingual tasks such as machine translation, multilingual text classification, and question answering.EXLMR-base follows the same architecture as RoBERTa-base, with 12 layers, 768 hidden dimensions, and 12 attention heads, totaling approximately 270M parameters.
48
 
49
  |Model|Vocabulary Size|
50
  |---|---|
51
  |XLM-Roberta|250002|
52
+ |EXLMR|280147|