rasyosef commited on
Commit
73835d4
·
verified ·
1 Parent(s): 5cd887e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +19 -0
README.md CHANGED
@@ -9,6 +9,25 @@ base_model:
9
  This model is an Instruction Tuned version of Llama 3.2 180M Amharic.
10
 
11
  ### How to use
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  First, you need to install the latest version of transformers
13
  ```
14
  pip install -Uq transformers
 
9
  This model is an Instruction Tuned version of Llama 3.2 180M Amharic.
10
 
11
  ### How to use
12
+ ### Chat Format
13
+
14
+ Given the nature of the training data, the phi-2 instruct model is best suited for prompts using the chat format as follows.
15
+ You can provide the prompt as a question with a generic template as follows:
16
+ ```markdown
17
+ <|im_start|>user
18
+ ጥያቄ?<|im_end|>
19
+ <|im_start|>assistant
20
+ ```
21
+
22
+ For example:
23
+ ```markdown
24
+ <|im_start|>user
25
+ ሶስት የአፍሪካ ሀገራት ጥቀስልኝ<|im_end|>
26
+ <|im_start|>assistant
27
+ ```
28
+ where the model generates the text after `<|im_start|>assistant` .
29
+
30
+ ### Sample inference code
31
  First, you need to install the latest version of transformers
32
  ```
33
  pip install -Uq transformers