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

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +4 -7
README.md CHANGED
@@ -1,16 +1,16 @@
 
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,7 +22,7 @@ This model translates Moroccan Darija (Moroccan Arabic) to English. It's based o
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,6 +45,3 @@ print(translate(darija_text))
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
 
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
+ pipeline_tag: text2text-generation
14
  ---
15
 
16
  # MoroccanDarija-Llama-3.1-8B
 
22
  ```python
23
  from transformers import AutoTokenizer, AutoModelForCausalLM
24
 
25
+ model_name = "Anassk/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.