HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
princeton-nlp
tree-of-thought-llm
Python2023–2024
princeton-nlp / tree-of-thought-llm

tree-of-thought-llm

[NeurIPS 2023] Tree of Thoughts: Deliberate Problem Solving with Large Language Models

8Distinct people
10Mentions
0Explicit recommenders
6.1KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

[NeurIPS 2023] Tree of Thoughts: Deliberate Problem Solving with Large Language Models

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by month10 dated mentions

Observed mentions: 2023-05-22 13:32:03 UTC to 2024-10-12 16:25:08 UTC.

012342023-05-01 00:00:00 UTC to 2023-06-01 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 commentsMay 20232023-06-01 00:00:00 UTC to 2023-07-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 comments2023-07-01 00:00:00 UTC to 2023-08-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-08-01 00:00:00 UTC to 2023-09-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2023-09-01 00:00:00 UTC to 2023-10-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-10-01 00:00:00 UTC to 2023-11-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-01 00:00:00 UTC to 2023-12-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2023-12-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-01-01 00:00:00 UTC to 2024-02-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsJan 20242024-02-01 00:00:00 UTC to 2024-03-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-03-01 00:00:00 UTC to 2024-04-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-04-01 00:00:00 UTC to 2024-05-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-05-01 00:00:00 UTC to 2024-06-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-06-01 00:00:00 UTC to 2024-07-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-07-01 00:00:00 UTC to 2024-08-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-08-01 00:00:00 UTC to 2024-09-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-09-01 00:00:00 UTC to 2024-10-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2024-10-01 00:00:00 UTC to 2024-11-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsOct 2024

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
May 20232023-05-01 00:00:00 UTC2023-06-01 00:00:00 UTC404
Jun 20232023-06-01 00:00:00 UTC2023-07-01 00:00:00 UTC211
Jul 20232023-07-01 00:00:00 UTC2023-08-01 00:00:00 UTC000
Aug 20232023-08-01 00:00:00 UTC2023-09-01 00:00:00 UTC101
Sep 20232023-09-01 00:00:00 UTC2023-10-01 00:00:00 UTC000
Oct 20232023-10-01 00:00:00 UTC2023-11-01 00:00:00 UTC000
Nov 20232023-11-01 00:00:00 UTC2023-12-01 00:00:00 UTC101
Dec 20232023-12-01 00:00:00 UTC2024-01-01 00:00:00 UTC000
Jan 20242024-01-01 00:00:00 UTC2024-02-01 00:00:00 UTC000
Feb 20242024-02-01 00:00:00 UTC2024-03-01 00:00:00 UTC000
Mar 20242024-03-01 00:00:00 UTC2024-04-01 00:00:00 UTC000
Apr 20242024-04-01 00:00:00 UTC2024-05-01 00:00:00 UTC000
May 20242024-05-01 00:00:00 UTC2024-06-01 00:00:00 UTC000
Jun 20242024-06-01 00:00:00 UTC2024-07-01 00:00:00 UTC000
Jul 20242024-07-01 00:00:00 UTC2024-08-01 00:00:00 UTC000
Aug 20242024-08-01 00:00:00 UTC2024-09-01 00:00:00 UTC000
Sep 20242024-09-01 00:00:00 UTC2024-10-01 00:00:00 UTC101
Oct 20242024-10-01 00:00:00 UTC2024-11-01 00:00:00 UTC101

What Hacker News says

10 sources
This dude has issues, the reddit post in /r/MachineLearning top comment: > Yes, basically. Delete any kyegomez link on sight. He namesquats recent papers for the clout, though the code never actually runs, much less replicates the paper results. We've had problems in /r/mlscaling with people unwittingly linking his garbage - we haven't bothered to set up an Automod rule, though. [0] https://github.com/princeton-nlp/tree-of-thought-llm/issues/... [1] https://x.com/ShunyuYao12/status/1663946702754021383
In Swarm, a new agent framework by OpenAI
ysymyth·Jun 1, 2023Submission

Tree of Thoughts: Official vs. Wrong Implementation

This is Shunyu, author of Tree oF Thoughts (arxiv.org/abs/2305.10601). The official code to replicate paper results is https://github.com/ysymyth/tree-of-thought-llm Not https://github.com/kyegomez/tree-of-thoughts which according to many who told me, is not right/good implementation of ToT, cannot replicate paper results, and damages the reputation of ToT I explained the situation here: https://twitter.com/ShunyuYao12/status/1663946702754021383 I'd appreciate your help by unstaring his and staring mine, as currently Github and Google searches go to his repo by default, and it has been very misleading for many users. Thanks!
2 points · Open discussion
This is Shunyu, author of Tree oF Thoughts (arxiv.org/abs/2305.10601). The official code to replicate paper results is https://github.com/ysymyth/tree-of-thought-llm Not https://github.com/kyegomez/tree-of-thoughts which according to many who told me, is not right/good implementation of ToT, and damages the reputation of ToT I explained the situation here: https://twitter.com/ShunyuYao12/status/1663946702754021383 I'd appreciate your help by unstaring his and staring mine, as currently Github and Google searches go to his repo by default, and it has been very misleading for many users.
In Tree of Thoughts
Here is a summary of the key points in the PDF: Large language models are increasingly being used for general problem solving, but they are still limited by their token-level, left-to-right generation process. The authors propose a new Tree of Thoughts (ToT) framework to address this. ToT frames problem solving as search through a tree of "thoughts", where each thought is an intermediate step towards the solution. This allows the language model to: - Generate and explore multiple potential thoughts at each step - Evaluate the progress of different thoughts using self-evaluation prompts - Perform lookahead and backtracking to make global decisions The authors propose 3 tasks to test ToT: Game of 24, Creative Writing and Crosswords. ToT significantly outperforms standard input-output and chain-of-thought prompting baselines on all 3 tasks.
Read the rest
This shows the benefits of ToT's ability to explore, evaluate and search through different reasoning paths. The key benefits of ToT are: - Generality: It generalizes existing prompting methods - Modularity: The components can be varied independently - Adaptability: It can accommodate different problem properties and resource constraints - Convenience: It only requires a pre-trained language model The ToT framework shows how deliberate search through a tree of "thoughts" can help large language models solve problems that require planning and search, beyond their standard left-to-right generation process. Code to be (isn't yet) released at: https://github.com/ysymyth/tree-of-thought-llm // via: https://kagi.com/summarizer/index.html?url=https%3A%2F%2Farx...
In Tree-of-Thought: Improving GPT-4 Reasoning by 900%
Language models are increasingly being deployed for general problem solving across a wide range of tasks, but are still confined to token-level, left-to-right decision-making processes during inference. This means they can fall short in tasks that require exploration, strategic lookahead, or where initial decisions play a pivotal role. To surmount these challenges, we introduce a new framework for language model inference, Tree of Thoughts (ToT), which generalizes over the popular Chain of Thought approach to prompting language models, and enables exploration over coherent units of text (thoughts) that serve as intermediate steps toward problem solving. ToT allows LMs to perform deliberate decision making by considering multiple different reasoning paths and self-evaluating choices to decide the next course of action, as well as looking a
Read the rest
head or backtracking when necessary to make global choices. Our experiments show that ToT significantly enhances language models' problem-solving abilities on three novel tasks requiring non-trivial planning or search: Game of 24, Creative Writing, and Mini Crosswords. For instance, in Game of 24, while GPT-4 with chain-of-thought prompting only solved 4% of tasks, our method achieved a success rate of 74%. Code repo with all prompts: this https URL. https://github.com/ysymyth/tree-of-thought-llm
In Tree of Thoughts: Deliberate Problem Solving with Large Language Models

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.