Hwanjun commited on
Commit
f0069e1
·
verified ·
1 Parent(s): c35ccd8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -58,7 +58,7 @@ We recommend to use the prompt below to get the summary, since we trained the mo
58
 
59
  ```
60
  def format_chat_template(document):
61
- instruction = "Please summarize the input documnet."
62
  row_json = [{"role": "user", "content": f"Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\n{instruction}\n\n### Input:\n{document}\n\n### Response:\n"}]
63
  return tokenizer.apply_chat_template(row_json, tokenize=False)
64
  ```
 
58
 
59
  ```
60
  def format_chat_template(document):
61
+ instruction = "Please summarize the input document."
62
  row_json = [{"role": "user", "content": f"Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\n{instruction}\n\n### Input:\n{document}\n\n### Response:\n"}]
63
  return tokenizer.apply_chat_template(row_json, tokenize=False)
64
  ```