amazon-science/auto-cot
Official implementation for "Automatic Chain of Thought Prompting in Large Language Models" (stay tuned & more will be updated)
Automatically constructs diverse chain-of-thought demonstrations from LLM outputs rather than requiring manual prompt engineering, using a demo selection strategy that matches or exceeds hand-crafted baselines on reasoning tasks. The approach decouples demonstration construction from inference—first mining exemplars from zero-shot outputs, then using them as in-context examples for subsequent LLM queries. Targets GPT-3 and similar models on arithmetic and commonsense reasoning benchmarks, with PyTorch dependencies for any local processing components.
2,012 stars. No commits in the last 6 months.
Stars
2,012
Forks
182
Language
Jupyter Notebook
License
Apache-2.0
Category
Last pushed
Mar 13, 2024
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/prompt-engineering/amazon-science/auto-cot"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
kyegomez/tree-of-thoughts
Plug in and Play Implementation of Tree of Thoughts: Deliberate Problem Solving with Large...
spcl/graph-of-thoughts
Official Implementation of "Graph of Thoughts: Solving Elaborate Problems with Large Language Models"
kyegomez/the-compiler
Seed, Code, Harvest: Grow Your Own App with Tree of Thoughts!
habedi/cogitator
A Python toolkit for chain-of-thought prompting 🐍
atfortes/Awesome-LLM-Reasoning
From Chain-of-Thought prompting to OpenAI o1 and DeepSeek-R1 🍓