Skip to content

louisdmueller/OpenAI_Political_Compass

Folders and files

NameName
Last commit message
Last commit date
Dec 9, 2024
Dec 9, 2024
Dec 9, 2024
Dec 9, 2024
Dec 9, 2024
Dec 2, 2024
Dec 9, 2024
Dec 9, 2024
Dec 9, 2024

Repository files navigation

OpenAI_Political_Compass

This is a small replication of PoliLean. The motivation behind this project is to see, where (OpenAI) LLMs currently stand politically. This current implementation works but is done poorly and just a proof of concept.

main.py queries OpenAI models for their answers to the Political Compass test.

testing.py is a modified copy of the original PoliLean code to put in the answers to Political Compass.

scripts/average_outputs.py will generate a new plot for the models answers.

start_tests.sh will call the above scripts.

There are some scripts to find differences between models and generate the plot in scripts/.

Next steps include:

  • Add more prompts
  • Incorporate more LLMs (Claude, Gemini etc.)
  • Test models on Wahl-O-Mat
  • Further pretrain on different German news corpora (e.g. Bild, SZ, FAZ) and see how the models opinions change

Problems:

  • testing.py only works if the model never answered anything else than the 4 standard answers

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published