Vizzier commited on
Commit
06f1c17
·
verified ·
1 Parent(s): a8e1de9

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -14
README.md CHANGED
@@ -1,12 +1,8 @@
1
  ---
2
  library_name: transformers
3
- language:
4
- - am
5
- base_model:
6
- - rasyosef/Llama-3.2-1B-Amharic
7
  ---
8
 
9
- This model is an Instruction Tuned version of Llama 3.2 1B Amharic.
10
 
11
  ### How to use
12
  First, you need to install the latest version of transformers
@@ -21,15 +17,7 @@ from transformers import pipeline
21
 
22
  llama3_am = pipeline(
23
  "text-generation",
24
- model="rasyosef/Llama-3.2-1B-Amharic-Instruct",
25
  device_map="auto"
26
  )
27
-
28
- messages = [{"role": "user", "content": "ሶስት የአፍሪካ ሀገራት ጥቀስልኝ"}]
29
- llama3_am(messages, max_new_tokens=128, repetition_penalty=1.05, return_full_text=False)
30
- ```
31
-
32
- Output:
33
- ```python
34
- [{'generated_text': '1. ግብፅ 2. ደቡብ አፍሪካ 3. ኢትዮጵያ'}]
35
  ```
 
1
  ---
2
  library_name: transformers
 
 
 
 
3
  ---
4
 
5
+ This model is an Instruction Tuned version of Llama 3.2 1B.
6
 
7
  ### How to use
8
  First, you need to install the latest version of transformers
 
17
 
18
  llama3_am = pipeline(
19
  "text-generation",
20
+ model="meta/Llama-3.2-1B-Instruct",
21
  device_map="auto"
22
  )
 
 
 
 
 
 
 
 
23
  ```