aljagne commited on
Commit
09a1cab
·
verified ·
1 Parent(s): c8823e1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +58 -12
README.md CHANGED
@@ -1,12 +1,36 @@
1
  ---
2
  library_name: transformers
3
- tags: []
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  ---
5
 
6
  # Model Card for Model ID
7
 
8
  <!-- Provide a quick summary of what the model is/does. -->
9
 
 
 
 
 
 
 
 
 
10
 
11
 
12
  ## Model Details
@@ -15,23 +39,23 @@ tags: []
15
 
16
  <!-- Provide a longer summary of what this model is. -->
17
 
18
- This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
19
 
20
- - **Developed by:** [More Information Needed]
21
- - **Funded by [optional]:** [More Information Needed]
22
- - **Shared by [optional]:** [More Information Needed]
23
- - **Model type:** [More Information Needed]
24
- - **Language(s) (NLP):** [More Information Needed]
25
- - **License:** [More Information Needed]
26
- - **Finetuned from model [optional]:** [More Information Needed]
27
 
28
  ### Model Sources [optional]
29
 
30
  <!-- Provide the basic links for the model. -->
31
 
32
- - **Repository:** [More Information Needed]
33
- - **Paper [optional]:** [More Information Needed]
34
- - **Demo [optional]:** [More Information Needed]
35
 
36
  ## Uses
37
 
@@ -70,6 +94,15 @@ Users (both direct and downstream) should be made aware of the risks, biases and
70
  ## How to Get Started with the Model
71
 
72
  Use the code below to get started with the model.
 
 
 
 
 
 
 
 
 
73
 
74
  [More Information Needed]
75
 
@@ -173,6 +206,14 @@ Carbon emissions can be estimated using the [Machine Learning Impact calculator]
173
  <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
 
175
  **BibTeX:**
 
 
 
 
 
 
 
 
176
 
177
  [More Information Needed]
178
 
@@ -187,6 +228,11 @@ Carbon emissions can be estimated using the [Machine Learning Impact calculator]
187
  [More Information Needed]
188
 
189
  ## More Information [optional]
 
 
 
 
 
190
 
191
  [More Information Needed]
192
 
 
1
  ---
2
  library_name: transformers
3
+ tags:
4
+ - translation
5
+ - English-Darija
6
+ - NLP
7
+ - AI
8
+ - text-to-text
9
+ - low-resource-languages
10
+ license: mit
11
+ language:
12
+ - en
13
+ - ar
14
+ metrics:
15
+ - bleu
16
+ - rouge
17
+ base_model:
18
+ - google/mt5-base
19
+ pipeline_tag: translation
20
  ---
21
 
22
  # Model Card for Model ID
23
 
24
  <!-- Provide a quick summary of what the model is/does. -->
25
 
26
+ Developed by: LocaleNLP
27
+ Funded by: Internal R&D and NLP Research Grants
28
+ Shared by: LocaleNLP
29
+ Model type: Sequence-to-sequence Transformer model
30
+ Languages Supported: English, Moroccan Darija
31
+ License: Apache 2.0
32
+ Finetuned from model: mT5
33
+
34
 
35
 
36
  ## Model Details
 
39
 
40
  <!-- Provide a longer summary of what this model is. -->
41
 
42
+ The LocaleNLP English-Darija Model is a transformer-based translation model designed to bridge the language gap between English and Moroccan Darija (a dialect of Arabic spoken in Morocco). It is fine-tuned from mT5 to support text and text translation tasks, improving accessibility for Darija speakers in digital applications.
43
 
44
+ - **Developed by:** [LocaleNLP]
45
+ - **Funded by [Internal R&D]:** [Internal R&D and NLP Research Grants]
46
+ - **Shared by [LocaleNLP]:** [More Information Needed]
47
+ - **Model type:** [Sequence-to-sequence Transformer model]
48
+ - **Language(s) (NLP):** [English, Moroccan Darija]
49
+ - **License:** [Apache 2.0]
50
+ - **Finetuned from model [mT5]:** [More Information Needed]
51
 
52
  ### Model Sources [optional]
53
 
54
  <!-- Provide the basic links for the model. -->
55
 
56
+ - **Repository:** [https://huggingface.co/LocaleNLP/English_darija]
57
+ - **Paper [Coming soon]:** [More Information Needed]
58
+ - **Demo [Try it on LocaleNLP API]:** [https://localenlp.com/]
59
 
60
  ## Uses
61
 
 
94
  ## How to Get Started with the Model
95
 
96
  Use the code below to get started with the model.
97
+ ```bash
98
+ from transformers import pipeline
99
+
100
+ translator = pipeline("translation", model="LocaleNLP/English_darija")
101
+ text = "Hello, how are you?"
102
+ result = translator(text)
103
+ print(result)
104
+ ```
105
+
106
 
107
  [More Information Needed]
108
 
 
206
  <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
207
 
208
  **BibTeX:**
209
+ ```sh
210
+ @misc{LocaleNLP2024EnglishDarija,
211
+ title={LocaleNLP English-Darija Translation Model},
212
+ author={LocaleNLP AI Research Team},
213
+ year={2024},
214
+ url={https://huggingface.co/LocaleNLP/English_darija}
215
+ }
216
+ ```
217
 
218
  [More Information Needed]
219
 
 
228
  [More Information Needed]
229
 
230
  ## More Information [optional]
231
+ Contact & Support
232
+ For questions or contributions:
233
+ 📧 Email: [email protected]
234
+ 🌍 Website: https://www.localenlp.com
235
+ GitHub: https://github.com/LocaleNLP
236
 
237
  [More Information Needed]
238