ifisch commited on
Commit
345677f
·
verified ·
1 Parent(s): ed80d9d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +32 -5
README.md CHANGED
@@ -12,7 +12,7 @@ license: apache-2.0
12
 
13
  # Political Parrots: GPT’s Take on Bundestag Tweets
14
 
15
- **Tim Michalow (qo27leja), Ian Fischer (uf28alic), Tobias Stirner (zo94suqa), Jonathan Franke (StudOn-Username/Enrollment Number)**
16
 
17
  ## 1 Introduction
18
 
@@ -22,7 +22,7 @@ The use of social media in political communication has surged in recent years, w
22
 
23
  ### Define your research question
24
 
25
- #TODO: Ausarbeiten
26
 
27
  ### How is this document structured
28
 
@@ -36,7 +36,27 @@ This document is structured as follows:
36
 
37
  ## 2 Related Work
38
 
39
- #TODO: Heraussuchen
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
 
41
  ## 3 Methodology
42
 
@@ -74,7 +94,15 @@ We used a fine-tuned GPT-2 model for tweet generation. The tokenizer was configu
74
 
75
  The model was fine-tuned with the following parameters:
76
 
77
- #TODO: Heraussuchen
 
 
 
 
 
 
 
 
78
 
79
  #### 3.3.3 Training
80
 
@@ -150,4 +178,3 @@ Future research could explore:
150
  ## 6 Conclusion
151
 
152
  In this project, we analyzed the communication strategies of German political parties on Twitter using a fine-tuned GPT-2 model. Our results demonstrate the potential of NLP techniques in political communication analysis. Future research could build on these findings to explore more advanced applications and address the ethical implications of AI in social media.
153
-
 
12
 
13
  # Political Parrots: GPT’s Take on Bundestag Tweets
14
 
15
+ **Tim Michalow (qo27leja), Ian Fischer (uf28alic), Tobias Stirner (zo94suqa), Jonathan Franke (zu98wibu)**
16
 
17
  ## 1 Introduction
18
 
 
22
 
23
  ### Define your research question
24
 
25
+ How effectively can advanced NLP techniques, particularly transformer-based models such as GPT-2, replicate and simulate the rhetorical styles and sentiment patterns of tweets posted by German political parties on Twitter?
26
 
27
  ### How is this document structured
28
 
 
36
 
37
  ## 2 Related Work
38
 
39
+ ### NLP and Social Media
40
+
41
+ The field of natural language processing (NLP) has significantly advanced with the introduction of transformer-based models such as GPT-2 and BERT. Radford et al. (2019) in "Language Models are Unsupervised Multitask Learners" highlight the capabilities of GPT-2 in generating coherent and contextually relevant text. This study underscores the potential of GPT-2 to replicate the complex language patterns found in political communication on social media platforms like Twitter.
42
+
43
+ ### Political Communication on Social Media
44
+
45
+ Research on political communication emphasizes the strategic use of social media by political entities to engage with the public and influence opinions. Enli and Skogerbø (2013) in "Personalized campaigns in party-centred politics" explore how political parties leverage social media for personalized campaigns to reach voters effectively. Jungherr (2016) in "Analyzing Political Communication with Digital Trace Data" provides methodologies for studying political behavior on social media, which inform our data collection and analysis strategies.
46
+
47
+ ### Sentiment Analysis and Rhetorical Style in Tweets
48
+
49
+ Understanding the sentiment and rhetorical style in tweets is crucial for analyzing political communication. Balahur et al. (2013) in "Sentiment Analysis in Twitter" examine various techniques for determining sentiment in short texts, which is pertinent to our evaluation metrics. Hart and Lind (2011) in "Political Rhetoric and its Discontents" showcase the importance of rhetorical analysis in political discourse, guiding our approach to replicating the distinctive styles of different political parties.
50
+
51
+ ### Applications of GPT-2 in Text Generation
52
+
53
+ The practical applications of GPT-2 for text generation have been demonstrated in various domains. Brown et al. (2020) in "Language Models are Few-Shot Learners" show the model's ability to generate human-like text with minimal fine-tuning, validating our choice of GPT-2 for generating political tweets. Furthermore, Wu et al. (2019) in "GPT-2 as a Knowledge Engine" illustrate the model's capacity to generate relevant and coherent content, supporting our deployment strategy.
54
+
55
+ ### Implications of AI in Political Communication
56
+
57
+ The ethical implications of using AI in political communication are a significant concern. Floridi et al. (2018) in "AI4People—An Ethical Framework for a Good AI Society: Opportunities, Risks, Principles, and Recommendations" discuss the ethical challenges posed by AI, such as bias and misinformation, which are relevant to our study. Additionally, the "Automating Society Report" by AlgorithmWatch (2020) provides insights into the societal impacts of automated decision-making systems, including those used in political communication.
58
+
59
+ By integrating insights from these studies, our project aims to build upon the existing body of knowledge and contribute to the field of political communication analysis through advanced NLP techniques.
60
 
61
  ## 3 Methodology
62
 
 
94
 
95
  The model was fine-tuned with the following parameters:
96
 
97
+ Model: GPT-2
98
+ Training epochs: 3
99
+ Batch size: 6
100
+ Learning rate: 2e-4
101
+ Warmup steps: 100
102
+ Epsilon: 1e-8
103
+ Evaluation strategy: Evaluate after each epoch
104
+ Save strategy: Save the model after each epoch
105
+ Seed: 38
106
 
107
  #### 3.3.3 Training
108
 
 
178
  ## 6 Conclusion
179
 
180
  In this project, we analyzed the communication strategies of German political parties on Twitter using a fine-tuned GPT-2 model. Our results demonstrate the potential of NLP techniques in political communication analysis. Future research could build on these findings to explore more advanced applications and address the ethical implications of AI in social media.