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
-
123
+
template= (
124
+
"Below is an instruction that describes a task. Write a response "
125
+
"that appropriately completes the request.\n\n### Instruction:"
126
+
"\n{}\n\n### Response:"
127
+
)
133
128
prompt1=template.format(
134
129
"Provide a list of instructions for preparing chicken soup."
135
130
)
136
131
prompt2=template.format("Explain some popular greetings in Spanish.")
137
132
prompt3=template.format("Explain to me why ignorance is bliss.")
138
133
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."
134
+
"I have just come into a very large sum of money. Provide me a "
135
+
"list of things that I can do with my new found wealth."
140
136
)
141
137
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]"
138
+
template= (
139
+
"[INST] Write code to solve the following coding problem that "
140
+
"obeys the constraints and passes the example test cases. "
141
+
"Please wrap your code answer using ```:\n{}\n[/INST]"
142
+
)
143
143
prompt1=template.format("Write a bubble sort function in python.")
144
144
prompt2=template.format(
145
-
"Using the Java streams API, write a simple function which will get the cumulative sum of a list of integers."
145
+
"Using the Java streams API, write a simple function which will "
146
+
"get the cumulative sum of a list of integers."
146
147
)
147
148
prompt3=template.format(
148
-
"In bash, how do I list all directories and sub-directories which contain a .py file."
149
+
"In bash, how do I list all directories and sub-directories which "
150
+
"contain a .py file."
149
151
)
150
152
prompt4=template.format(
151
-
"Write a simple decorator in python which will modify all string inputs to ints if possible."
153
+
"Write a simple decorator in python which will modify all string "
0 commit comments