Spaces:
Sleeping
Sleeping
Francisco Zanartu
commited on
Commit
·
5aeb768
1
Parent(s):
7f7028e
update INCONTEXT prompt
Browse files- utils/templates.py +5 -5
utils/templates.py
CHANGED
@@ -35,19 +35,19 @@ INCONTEXT = PromptTemplate.from_template(
|
|
35 |
"""<s>[INST] <<SYS>>
|
36 |
You are a senior climate analyst, an expert in identifying and responding to climate change misinformation.
|
37 |
<</SYS>>
|
38 |
-
What fallacy is contained in the following misinformation?
|
39 |
misinformation: {misinformation} [/INST]
|
40 |
Your text contains {detected_fallacy} fallacy. {detected_fallacy} fallacy is {fallacy_definition} </s>
|
41 |
-
<s>[INST] What is the factual evidence surrounding this misinformation?[/INST]
|
42 |
{factual_information}</s>
|
43 |
<s>[INST] Provide a precise and concise response to this climate change misinformation.
|
44 |
-
|
45 |
-
2. Explicitly name the fallacy, explain why it's incorrect, and link it to factual evidence showing how it distorts reality.
|
46 |
Consider the following example before providing your answer:
|
47 |
Misinformation: {example_myth}
|
48 |
Response: {example_response}
|
49 |
Misinformation: {misinformation}
|
50 |
-
Response:
|
|
|
51 |
)
|
52 |
|
53 |
SUMMARIZATION = PromptTemplate.from_template(
|
|
|
35 |
"""<s>[INST] <<SYS>>
|
36 |
You are a senior climate analyst, an expert in identifying and responding to climate change misinformation.
|
37 |
<</SYS>>
|
38 |
+
What fallacy is contained in the following climate change misinformation?
|
39 |
misinformation: {misinformation} [/INST]
|
40 |
Your text contains {detected_fallacy} fallacy. {detected_fallacy} fallacy is {fallacy_definition} </s>
|
41 |
+
<s>[INST] What is the factual evidence surrounding this climate change misinformation?[/INST]
|
42 |
{factual_information}</s>
|
43 |
<s>[INST] Provide a precise and concise response to this climate change misinformation.
|
44 |
+
Identify the logical or argumentative fallacy in 40 words or fewer. Explicitly name the fallacy, explain why it's incorrect, and link it to factual evidence showing how it distorts reality.
|
|
|
45 |
Consider the following example before providing your answer:
|
46 |
Misinformation: {example_myth}
|
47 |
Response: {example_response}
|
48 |
Misinformation: {misinformation}
|
49 |
+
Response:
|
50 |
+
[/INST]"""
|
51 |
)
|
52 |
|
53 |
SUMMARIZATION = PromptTemplate.from_template(
|