Skip to content

EliasHepp/Politricks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Politricks: Creating and Evaluating Artificial Political Speeches Using Large Language Models

Seminar Project in Social Informatics of Large Language Models, with the goal to assess the capability of state-of-the-art LLM GPT-4 to accurately mimic German parliamentary politician speeches.

Instructions

The code directory contains the jupyter notebooks needed to recreate our project. Each notebook includes a clarification in its header of who worked on the respective code. The data directory contains some of the data necessary for our project. Since some of our data files are too large for GitHub we have provided them via cloud storage. For simplicities sake we would recommend downloading the data directory from the cloud storage and replacing the data directory in the repository with it.\

The notebooks should be run in the following order:

  1. speeches_preprocessing.ipynb
  2. prompt_engeniering.ipynb
  3. analysis_manifestoberta.ipynb / analysis_pca.ipynb

Report

This documents who was responsible for what parts of our final report:

Introduction - Andri, Elias

Data & Methods
Speech Selection - Andri, Elias, Jakob
Politician Selection - Andri
GPT-4 Prompting - Andri
Placement Analysis - Elias, Jakob

Results
Manifestoberta - Jakob
Doc2Vec - Elias

Discussion - Elias, Jakob\

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •