Upload README.md
Browse filesescape '#'
README.md
CHANGED
@@ -55,7 +55,7 @@ model = PeftModel.from_pretrained(model, adapter_id_2, token=HF_TOKEN)
|
|
55 |
def generate_response(input):
|
56 |
prompt = f"""### 指示
|
57 |
{input}
|
58 |
-
|
59 |
"""
|
60 |
|
61 |
tokenized_input = tokenizer.encode(prompt, add_special_tokens=False, return_tensors="pt").to(model.device)
|
|
|
55 |
def generate_response(input):
|
56 |
prompt = f"""### 指示
|
57 |
{input}
|
58 |
+
\#\#\# 回答
|
59 |
"""
|
60 |
|
61 |
tokenized_input = tokenizer.encode(prompt, add_special_tokens=False, return_tensors="pt").to(model.device)
|