Research paper repo for multi-persona self-collaboration agent
Top 81.9% on sourcepulse
This repository provides the official code for the "Solo Performance Prompting" (SPP) paper, enabling Large Language Models (LLMs) to achieve enhanced task-solving capabilities through multi-persona self-collaboration. It is designed for researchers and practitioners interested in advanced LLM agent architectures and cognitive synergy.
How It Works
SPP implements a novel self-collaboration framework where an LLM adopts multiple personas to iteratively refine its problem-solving approach. This multi-persona strategy aims to mimic human cognitive processes, allowing the model to explore diverse perspectives and generate more robust solutions compared to single-prompt methods. The approach is demonstrated across creative writing, collaborative games, and logic puzzles.
Quick Start & Requirements
pip install -r requirements.txt
config_template.sh
(Azure API used in experiments).bash scripts/trivia_creative_writing.sh
bash scripts/codenames_collaborative.sh
bash scripts/logic_grid_puzzle.sh
prompts/
, data/
, logs/
).Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The project primarily focuses on demonstrating the SPP methodology with OpenAI's API and Llama2, and may require adaptation for other LLM providers or models. Specific configurations for hyperparameter tuning are based on GPT-4 experiments.
1 year ago
1 week