This is the official code repository for the paper "LLMs Leveraging Alternative Formats for Enhanced Reasoning and Communication". This repository is built upon AgentVerse.
Clone the repository and install the dependencies.
git clone [email protected]:thunlp/AutoForm.git
cd AutoForm
# Python>=3.10
pip install -r requirements.txt
Set OpenAI key and Google API key.
# Export your OpenAI API key
export OPENAI_API_KEY="your_api_key_here"
# Export your Google API key
export GOOGLE_API_KEY="your_api_key_here"
Here is an example of how to run the scripts. This script implement Single-LLM Reasoning using Gemini Pro with AutoForm on AQuA dataset.
python scripts/aqua/autoform-gemini.py
You can try other scripts to reproduce the results reported in our paper.