Hwanjun commited on
Commit
6645da9
1 Parent(s): 031be54

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +12 -0
README.md CHANGED
@@ -19,6 +19,18 @@ Please refer to [our paper](link) to catch up how to exploit LLM-generated feedb
19
 
20
  We also released a larger model, **SummLlama3-70B**. Please go to the [Huggingface link](https://huggingface.co/DISLab/SummLlama3-70B) for this model.
21
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  ---
23
 
24
  Here is a brief overview of our summarizer:
 
19
 
20
  We also released a larger model, **SummLlama3-70B**. Please go to the [Huggingface link](https://huggingface.co/DISLab/SummLlama3-70B) for this model.
21
 
22
+ ### *Recommended Prompt for Text Summarization:*
23
+
24
+ We recommend to use the prompt below to get the summary, since we trained the model using this.
25
+
26
+ ```
27
+ def format_chat_template(document):
28
+ instruction = "Please summarize the input documnet."
29
+ 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"}]
30
+ return tokenizer.apply_chat_template(row_json, tokenize=False)
31
+ ```
32
+
33
+
34
  ---
35
 
36
  Here is a brief overview of our summarizer: