Update README.md
Browse files
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
|
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 |
```
|