Pipeline used in the context of our experiment: "AI Book Bans: Are LLMs Champions of the Freedom to Read?"
Dataset available on HuggingFace.
- OpenAI GPT-3.5-turbo
- OpenAI GPT-4
- Google Palm2 (text-bison-001)
- Meta Llama2-13b-chat via Ollama
- Meta Llama2-70b-chat via Ollama
- Python 3.11+
- Poetry
- Install dependencies:
poetry install
- Copy
.env.example
as.env
and populate it with relevant credentials - Run
poetry run python run.py