mangaphd commited on
Commit
c7aca84
·
1 Parent(s): e63deee

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -13
README.md CHANGED
@@ -26,28 +26,17 @@ It achieves the following results on the evaluation set:
26
 
27
  The sentiment fine-tuning was done on Hausa Language.
28
 
29
- Model Repository : https://github.com/idimohammed/HausaBERTa
30
 
31
  ## Model description
32
 
33
- HausaBERTa is a pretrained lexicon low resources language model. The model was trained on Hausa Language (Hausa is a Chadic language spoken by the Hausa people in the northern half of Nigeria, Niger, Ghana, Cameroon, Benin and Togo, and the southern half of Niger, Chad and Sudan, with significant minorities in Ivory Coast. It is the most widely spoken language in West Africa, and one of the most widely spoken languages in Africa as a whole).
34
  The model has been shown to obtain competitive downstream performances on text classification on trained language
35
 
36
  ## Intended uses & limitations
37
 
38
  You can use this model with Transformers for sentiment analysis task in Hausa Language.
39
 
40
- # Use a pipeline as a high-level helper
41
- from transformers import pipeline
42
-
43
- pipe = pipeline("text-classification", model="mangaphd/hausaBERTmodel")
44
-
45
- # Load model directly
46
- from transformers import AutoTokenizer, AutoModelForSequenceClassification
47
-
48
- tokenizer = AutoTokenizer.from_pretrained("mangaphd/HausaBERTa")
49
- model = AutoModelForSequenceClassification.from_pretrained("mangaphd/HausaBERTa")
50
-
51
  # Supplementary function
52
  Add the following codes for ease of interpretation
53
 
 
26
 
27
  The sentiment fine-tuning was done on Hausa Language.
28
 
29
+ Model Repository : https://github.com/YobeStateUniversity/HausaSentiLex
30
 
31
  ## Model description
32
 
33
+ HausaSentiLex is a pretrained lexicon low resources language model. The model was trained on Hausa Language (Hausa is a Chadic language spoken by the Hausa people in the northern half of Nigeria, Niger, Ghana, Cameroon, Benin and Togo, and the southern half of Niger, Chad and Sudan, with significant minorities in Ivory Coast. It is the most widely spoken language in West Africa, and one of the most widely spoken languages in Africa as a whole).
34
  The model has been shown to obtain competitive downstream performances on text classification on trained language
35
 
36
  ## Intended uses & limitations
37
 
38
  You can use this model with Transformers for sentiment analysis task in Hausa Language.
39
 
 
 
 
 
 
 
 
 
 
 
 
40
  # Supplementary function
41
  Add the following codes for ease of interpretation
42