TitleOS commited on
Commit
5b64f72
1 Parent(s): 20c8e13

Added Alpaca instructions

Browse files

Added instructions for prompting Alpaca style.

Files changed (1) hide show
  1. README.md +10 -0
README.md CHANGED
@@ -16,5 +16,15 @@ CodePhi2 is finetuning of the Microsoft Phi-2 LLM with **2.7 billion** parameter
16
 
17
  Coming Soon.
18
 
 
 
 
 
 
 
 
 
 
 
19
  #### Notes
20
  If you are using transformers>=4.36.0, always load the model with trust_remote_code=True to prevent side-effects.
 
16
 
17
  Coming Soon.
18
 
19
+ ## Instruction Format (Alpaca)
20
+
21
+ CodePhi2 has been finetuned on the Alpaca instruction format, and as such should be prompted like below:
22
+ ```
23
+ Below is an instruction that describes a task. Write a response that appropriately completes the request.
24
+ ### Instruction:
25
+ {instruction}
26
+
27
+ ### Response:
28
+ ```
29
  #### Notes
30
  If you are using transformers>=4.36.0, always load the model with trust_remote_code=True to prevent side-effects.