Research paper implementation for automatic chain-of-thought prompting
Top 23.3% on sourcepulse
Auto-CoT automates the design of Chain-of-Thought (CoT) prompts for large language models, reducing manual effort and matching or exceeding human-designed prompts. It targets researchers and practitioners working with LLMs who need to improve reasoning capabilities without extensive prompt engineering.
How It Works
Auto-CoT employs a diverse, multi-step prompting strategy. It generates multiple reasoning paths for a given problem and selects the most effective ones, enhancing robustness and performance compared to single-path CoT prompting. This approach aims to improve LLM reasoning by providing a more comprehensive and varied set of intermediate steps.
Quick Start & Requirements
pip install -r requirements.txt
python run_demo.py --task multiarith --pred_file log/multiarith_zero_shot_cot.log --demo_save_dir demos/multiarith
python run_inference.py --dataset multiarith --demo_path demos/multiarith --output_dir experiment/multiarith
Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The project requires specific, older versions of PyTorch (1.8.2+cu111) and Torchtext (0.9.2), which may pose compatibility challenges with newer environments. Datasets are not included and require manual download.
1 year ago
Inactive