You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
template="Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\n{}\n\n### Response:"
132
-
133
+
template= (
134
+
"Below is an instruction that describes a task. Write a response "
135
+
"that appropriately completes the request.\n\n### Instruction:"
136
+
"\n{}\n\n### Response:"
137
+
)
133
138
prompt1=template.format(
134
139
"Provide a list of instructions for preparing chicken soup."
135
140
)
136
141
prompt2=template.format("Explain some popular greetings in Spanish.")
137
142
prompt3=template.format("Explain to me why ignorance is bliss.")
138
143
prompt4=template.format(
139
-
"I have just come into a very large sum of money. Provide me a list of things that I can do with my new found wealth."
144
+
"I have just come into a very large sum of money. Provide me a "
145
+
"list of things that I can do with my new found wealth."
140
146
)
141
147
elifargs.prompt_type=="code":
142
-
template="[INST] Write code to solve the following coding problem that obeys the constraints and passes the example test cases. Please wrap your code answer using ```:\n{}\n[/INST]"
148
+
template= (
149
+
"[INST] Write code to solve the following coding problem that "
150
+
"obeys the constraints and passes the example test cases. "
151
+
"Please wrap your code answer using ```:\n{}\n[/INST]"
152
+
)
143
153
prompt1=template.format("Write a bubble sort function in python.")
144
154
prompt2=template.format(
145
-
"Using the Java streams API, write a simple function which will get the cumulative sum of a list of integers."
155
+
"Using the Java streams API, write a simple function which will "
156
+
"get the cumulative sum of a list of integers."
146
157
)
147
158
prompt3=template.format(
148
-
"In bash, how do I list all directories and sub-directories which contain a .py file."
159
+
"In bash, how do I list all directories and sub-directories which "
160
+
"contain a .py file."
149
161
)
150
162
prompt4=template.format(
151
-
"Write a simple decorator in python which will modify all string inputs to ints if possible."
163
+
"Write a simple decorator in python which will modify all string "
0 commit comments