Anassk commited on
Commit
08b42ce
1 Parent(s): eb41fcc

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +7 -3
README.md CHANGED
@@ -1,15 +1,16 @@
1
-
2
  ---
 
3
  language:
4
  - ar
5
  - en
 
 
6
  tags:
7
  - darija
8
  - moroccan arabic
9
  - english
10
  - translation
11
  - llama
12
- license: mit
13
  ---
14
 
15
  # MoroccanDarija-Llama-3.1-8B
@@ -21,7 +22,7 @@ This model translates Moroccan Darija (Moroccan Arabic) to English. It's based o
21
  ```python
22
  from transformers import AutoTokenizer, AutoModelForCausalLM
23
 
24
- model_name = "Anassk/MoroccanDarija-Llama-3.1-8B"
25
  tokenizer = AutoTokenizer.from_pretrained(model_name)
26
  model = AutoModelForCausalLM.from_pretrained(model_name)
27
 
@@ -44,3 +45,6 @@ print(translate(darija_text))
44
  ## Limitations
45
 
46
  This model's performance may vary depending on the complexity and specific dialect of the input Darija text. It works best with standard Moroccan Darija phrases and sentences. Highly colloquial or region-specific expressions may pose challenges.
 
 
 
 
 
1
  ---
2
+ base_model: unsloth/meta-llama-3.1-8b-bnb-4bit
3
  language:
4
  - ar
5
  - en
6
+ library_name: peft
7
+ license: mit
8
  tags:
9
  - darija
10
  - moroccan arabic
11
  - english
12
  - translation
13
  - llama
 
14
  ---
15
 
16
  # MoroccanDarija-Llama-3.1-8B
 
22
  ```python
23
  from transformers import AutoTokenizer, AutoModelForCausalLM
24
 
25
+ model_name = "your-username/MoroccanDarija-Llama-3.1-8B"
26
  tokenizer = AutoTokenizer.from_pretrained(model_name)
27
  model = AutoModelForCausalLM.from_pretrained(model_name)
28
 
 
45
  ## Limitations
46
 
47
  This model's performance may vary depending on the complexity and specific dialect of the input Darija text. It works best with standard Moroccan Darija phrases and sentences. Highly colloquial or region-specific expressions may pose challenges.
48
+ ### Framework versions
49
+
50
+ - PEFT 0.13.0