Francisco Zanartu commited on
Commit
8cddbeb
·
1 Parent(s): 0e0360b

update prompt

Browse files
Files changed (1) hide show
  1. utils/templates.py +3 -1
utils/templates.py CHANGED
@@ -58,7 +58,7 @@ response:
58
  SUMMARIZATION = PromptTemplate.from_template(
59
  """[INST]
60
  You are a summarization system that can provide summaries in clear and concise language.
61
- Summarize the following text in 30 words or fewer.
62
  [/INST]
63
 
64
  text: {text}
@@ -72,6 +72,7 @@ CONCLUDING = PromptTemplate.from_template(
72
  </s>
73
  # Fact:
74
  {fact}
 
75
  """
76
  )
77
 
@@ -84,5 +85,6 @@ Complementary details:
84
 
85
  # Fact:
86
  {fact}
 
87
  """
88
  )
 
58
  SUMMARIZATION = PromptTemplate.from_template(
59
  """[INST]
60
  You are a summarization system that can provide summaries in clear and concise language.
61
+ Summarize the following text in 30 words or fewer. Only refer to the text without adding additional elements or opinions.
62
  [/INST]
63
 
64
  text: {text}
 
72
  </s>
73
  # Fact:
74
  {fact}
75
+ # Summary:
76
  """
77
  )
78
 
 
85
 
86
  # Fact:
87
  {fact}
88
+ # Summary:
89
  """
90
  )