seungone commited on
Commit
5a61ec5
1 Parent(s): 02de96d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +11 -0
README.md CHANGED
@@ -70,6 +70,17 @@ Score 5: {score5_description}
70
  ###Feedback:
71
  ```
72
 
 
 
 
 
 
 
 
 
 
 
 
73
  As a result, a feedback and score decision will be generated, divided by a separating phrase ```[RESULT]```
74
 
75
  ## License
 
70
  ###Feedback:
71
  ```
72
 
73
+ After this, you should apply the conversation template of Llama-2-Chat (not applying it might lead to unexpected behaviors)
74
+ ```
75
+ conv = get_conv_template("llama-2")
76
+ conv.set_system_message("You are a fair evaluator language model.")
77
+ conv.append_message(conv.roles[0], dialogs['instruction'])
78
+ conv.append_message(conv.roles[1], None)
79
+ prompt = conv.get_prompt()
80
+
81
+ x = tokenizer(prompt,truncation=False)
82
+ ```
83
+
84
  As a result, a feedback and score decision will be generated, divided by a separating phrase ```[RESULT]```
85
 
86
  ## License