Discover and explore top open-source AI tools and projects—updated daily.
jieyilongTree-of-Thoughts (ToT) framework demo for solving reasoning tasks using LLMs
Top 78.2% on SourcePulse
This repository implements a Sudoku solver using the Tree-of-Thought (ToT) framework, designed to enhance the reasoning and problem-solving capabilities of Large Language Models (LLMs). It targets researchers and developers looking to explore advanced LLM reasoning techniques beyond standard auto-regressive generation, offering a structured approach to complex tasks.
How It Works
The ToT framework augments an LLM with specialized modules: a prompter agent, a checker, a memory module, and a ToT controller. These components orchestrate multi-round interactions with the LLM, simulating human-like trial-and-error problem-solving. This approach allows the system to explore different solution paths and backtrack when necessary, overcoming the limitations of purely sequential token generation.
Quick Start & Requirements
pip install -r requirements.txt.config.yaml file.python run_tot.py "puzzle_description".python run_expr.py <solver_type> <data_file>.Highlighted Details
Maintenance & Community
The project is authored by Jieyi Long. Further community or maintenance details are not specified in the README.
Licensing & Compatibility
The repository does not explicitly state a license. Compatibility for commercial use or closed-source linking is not specified.
Limitations & Caveats
The project relies on OpenAI's API, requiring an API key and incurring associated costs. The README does not detail performance benchmarks or specific LLM compatibility beyond mentioning OpenAI models.
1 year ago
Inactive
open-thought
kyegomez
princeton-nlp