nmczzi commited on
Commit
78804a9
·
verified ·
1 Parent(s): 2541a0b

Upload README.md

Browse files

escape '#'

Files changed (1) hide show
  1. README.md +1 -1
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)