Francisco Zanartu commited on
Commit
9815756
·
1 Parent(s): 97d1503

prompts update

Browse files
Files changed (1) hide show
  1. utils/templates.py +11 -16
utils/templates.py CHANGED
@@ -48,7 +48,6 @@ You've identified a {fallacy}-based fallacy in the following misinformation:
48
  {fallacy} definition: {fallacy_definition}
49
 
50
  You also possess the following factual information: {factual_information}
51
- Remember to be concise and reply within 40 words or fewer.
52
  <<<
53
  misinformation: {misinformation}
54
  response:
@@ -67,26 +66,22 @@ text: {text}
67
  )
68
 
69
  CONCLUDING = PromptTemplate.from_template(
70
- """[INST]
71
- 1. Reinforce the following fact and provide complementary details, if relevant, to enhance understanding.
72
- 2. The output should be simple text summarizing the information in 30 words or fewer.
73
- [/INST]
74
- <<<
75
- Fact: {fact}
76
- >>>
77
  """
78
  )
79
 
80
  CONCLUDING_INCONTEXT = PromptTemplate.from_template(
81
- """[INST]
82
- 1. Reinforce the following fact and provide complementary details, if relevant, to enhance understanding.
83
- 2. The output should be simple text summarizing the information in 30 words or fewer.
84
-
85
  Complementary details:
86
  {complementary_details}
87
- [/INST]
88
- <<<
89
- Fact: {fact}
90
- >>>
91
  """
92
  )
 
48
  {fallacy} definition: {fallacy_definition}
49
 
50
  You also possess the following factual information: {factual_information}
 
51
  <<<
52
  misinformation: {misinformation}
53
  response:
 
66
  )
67
 
68
  CONCLUDING = PromptTemplate.from_template(
69
+ """<s>[INST] 1. Reinforce the following fact and provide complementary details, if relevant, to enhance understanding.
70
+ 2. The output should be simple text summarizing the information in 30 words or fewer. [/INST]
71
+ </s>
72
+ # Fact:
73
+ {fact}
 
 
74
  """
75
  )
76
 
77
  CONCLUDING_INCONTEXT = PromptTemplate.from_template(
78
+ """<s>[INST] 1. Reinforce the following fact and provide complementary details, if relevant, to enhance understanding.
79
+ 2. The output should be simple text summarizing the information in 30 words or fewer. [/INST]
 
 
80
  Complementary details:
81
  {complementary_details}
82
+ </s>
83
+
84
+ # Fact:
85
+ {fact}
86
  """
87
  )