amandakonet commited on
Commit
dd4ffe9
β€’
1 Parent(s): 5f194a6
Files changed (1) hide show
  1. app.py +22 -7
app.py CHANGED
@@ -7,6 +7,14 @@ import os
7
  # title
8
  st.title('Combatting Climate Change Misinformation with Transformers')
9
 
 
 
 
 
 
 
 
 
10
  # section 1: the context, problem; how to address
11
  st.markdown("### The Problem πŸ€”")
12
  st.markdown("Misinformation about climate change spreads quickly and has direct impacts on public opinion and public policy surrounding the climate. Further, misinformation is difficult to combat, and people are able to \"verify\" false climate claims on biased sites. Ideally, people would be able to easily verify climate claims. This is where transformers come in.")
@@ -68,18 +76,25 @@ st.markdown("* evidence *refutes* (contradicts) claim")
68
  st.markdown("* evidence *does not provide enough info to support or refute* (neutral) claim")
69
  st.markdown("For this project, I fine-tuned 3 different models on the text entailment task.")
70
 
71
- st.markdown("**Model 1: [DistilRoBERTa](https://huggingface.co/distilroberta-base)")
72
 
73
- st.markdown("**Model 2: [ClimateBERT](https://huggingface.co/climatebert/distilroberta-base-climate-f)")
74
 
75
- st.markdown("**Model 3: [RoBERTa Fine-tuned on NLI Task](https://huggingface.co/ynie/roberta-large-snli_mnli_fever_anli_R1_R2_R3-nli)")
76
 
77
 
78
  # section 6: analysis
79
 
80
  # section 7: conclusion
81
 
82
- # references
83
-
84
- st.markdown("## References")
85
- st.markdown("1. https://www.carbonbrief.org/guest-post-how-climate-change-misinformation-spreads-online")
 
 
 
 
 
 
 
 
7
  # title
8
  st.title('Combatting Climate Change Misinformation with Transformers')
9
 
10
+ st.markdown("## The Gist")
11
+ st.markdown("**The Problem**: Climate change misinformation spreads quickly and is difficult to combat. However, its important to do so, because climate change misinformation has direct impacts on public opinion and public policy surrounding climate change.")
12
+ st.markdown("**The Solution**: Develop a pipeline in which users can input climate change claims... and the pipeline returns whether the claim is refuted or supported by current climate science, along with the corresponding evidence.")
13
+ st.markdown("**The Approach**")
14
+ st.markdown("* There are many steps to this pipeline. Here, I focus on fine-tuning a transformer model, ClimateBERT, using the textual entailment task.")
15
+ st.markdown("* Given a {claim, evidence} pair, determine whether the climate claim is supported or refuted (or neither) by the evidence")
16
+
17
+
18
  # section 1: the context, problem; how to address
19
  st.markdown("### The Problem πŸ€”")
20
  st.markdown("Misinformation about climate change spreads quickly and has direct impacts on public opinion and public policy surrounding the climate. Further, misinformation is difficult to combat, and people are able to \"verify\" false climate claims on biased sites. Ideally, people would be able to easily verify climate claims. This is where transformers come in.")
 
76
  st.markdown("* evidence *does not provide enough info to support or refute* (neutral) claim")
77
  st.markdown("For this project, I fine-tuned 3 different models on the text entailment task.")
78
 
79
+ st.markdown("**Model 1**: [DistilRoBERTa](https://huggingface.co/distilroberta-base)")
80
 
81
+ st.markdown("**Model 2**: [ClimateBERT](https://huggingface.co/climatebert/distilroberta-base-climate-f)")
82
 
83
+ st.markdown("**Model 3**: [RoBERTa Fine-tuned on NLI Task](https://huggingface.co/ynie/roberta-large-snli_mnli_fever_anli_R1_R2_R3-nli)")
84
 
85
 
86
  # section 6: analysis
87
 
88
  # section 7: conclusion
89
 
90
+ # References + Resource Links
91
+ st.markdown("### Resource Links")
92
+ # climatefever paper
93
+ # feverpaper
94
+ # fact checking covid paper
95
+ # models
96
+ # nli fine-tuning notebook
97
+
98
+ st.markdown("### References")
99
+ st.markdown("1. https://www.carbonbrief.org/guest-post-how-climate-change-misinformation-spreads-online")
100
+ st.markdown("2. https://www.brookings.edu/research/how-to-combat-fake-news-and-disinformation/")