Update README.md
Browse files
README.md
CHANGED
|
@@ -59,14 +59,14 @@ tokenizer = AutoTokenizer.from_pretrained(model_name)
|
|
| 59 |
|
| 60 |
question = "Find the value of $x$ that satisfies the equation $4x+5 = 6x+7$."
|
| 61 |
|
| 62 |
-
sys_prompt="Below is an instruction that describes a task. Write a response that appropriately completes the request." + "\n\n"
|
| 63 |
-
query_prompt="### Instruction:" + "\n"
|
| 64 |
# {query}
|
| 65 |
-
prompt_after_query="\n\n"
|
| 66 |
-
resp_prompt="### Response:" + "\n"
|
| 67 |
-
prompt_before_resp=""
|
| 68 |
# {resp}
|
| 69 |
-
delim="\n\n"
|
| 70 |
|
| 71 |
prefix_prompt = f"{query_prompt}{question}{prompt_after_query}{resp_prompt}{prompt_before_resp}".rstrip(" ")
|
| 72 |
full_prompt = sys_prompt + delim.join([prefix_prompt])
|
|
|
|
| 59 |
|
| 60 |
question = "Find the value of $x$ that satisfies the equation $4x+5 = 6x+7$."
|
| 61 |
|
| 62 |
+
sys_prompt = "Below is an instruction that describes a task. Write a response that appropriately completes the request." + "\n\n"
|
| 63 |
+
query_prompt = "### Instruction:" + "\n"
|
| 64 |
# {query}
|
| 65 |
+
prompt_after_query = "\n\n"
|
| 66 |
+
resp_prompt = "### Response:" + "\n"
|
| 67 |
+
prompt_before_resp = ""
|
| 68 |
# {resp}
|
| 69 |
+
delim = "\n\n"
|
| 70 |
|
| 71 |
prefix_prompt = f"{query_prompt}{question}{prompt_after_query}{resp_prompt}{prompt_before_resp}".rstrip(" ")
|
| 72 |
full_prompt = sys_prompt + delim.join([prefix_prompt])
|