Tree of Thoughts
github.com
Tree of Thoughts
1–10 of 85 posts
Re: Tree of Thoughts
#2You buried the lede:
Re: Tree of Thoughts
#3It’d be nice to include a few example uses and it’s outputs vs other prompt methods.
Re: Tree of Thoughts
#4This seems really interesting. I am glad many of these tools built up around LLMs allow you to bring your own rather than rely on OpenAI.
Re: Tree of Thoughts
#5You buried the lede: https://arxiv.org/pdf/2305.10601.pdf
I'm a little confused about what the relation is (if any) between the OP link and the repo from that paper: https://github.com/ysymyth/tree-of-thought-llm
Is it basically a reimplementation using Guidance instead of openai's API directly?
Re: Tree of Thoughts
#6Documentation looks really neat and in-depth, always appreciated.
Looks like you’re missing a .gitignore file. Folders like __pycache__ don’t need to be checked in.
Re: Tree of Thoughts
#7Here are the prompts templates from the main code:
prompt = f"Given the current state of reasoning: '{state_text}', pessimitically evaluate its value as a float between 0 and 1 based on it's potential to achieve {inital_prompt}"
prompt = f"Write down your observations in format 'Observation:xxxx', then write down your thoughts in format 'Thoughts:xxxx Given the current state of reasoning: '{state_text}', generate {k} coherent solutions to achieve {state_text}"
prompt = f"Given the current state of reasoning: '{state_text}', pessimistically evaluate its value as a float between 0 and 1 based on its potential to achieve {initial_prompt}"
self.ReAct_prompt = "Write down your observations in format 'Observation:xxxx', then write down your thoughts in format 'Thoughts:xxxx'."
prompt = f"Given the current state of reasoning: '{state_text}', generate {1} coherent thoughts to achieve the reasoning process: {state_text}"
prompt = f"Given the current state of reasoning: '{state_text}', evaluate its value as a float between 0 and 1, become very pessimistic think of potential adverse risks on the probability of this state of reasoning achieveing {inital_prompt} and DO NOT RESPOND WITH ANYTHING ELSE: OTHER THAN AN FLOAT"
prompt = f"Given the following states of reasoning, vote for the best state utilizing an scalar value 1-10:\n{states_text}\n\nVote, on the probability of this state of reasoning achieveing {inital_prompt} and become very pessimistic very NOTHING ELSE"
self.ReAct_prompt = '''{{#assistant~}}
{{gen 'Observation' temperature=0.5 max_tokens=50}}
{{~/assistant}}'''
There are also some system prompts: https://github.com/kyegomez/tree-of-thoughts/blob/732791710e...Re: Tree of Thoughts
#8The author appears motivated by some... interesting... beliefs. Hard to tell if this entire thing is a joke or not.
https://github.com/kyegomez/EXA#for-humanity
https://blog.apac.ai/liberation-awaits
EDIT: the author seems to be releasing poor implementations of recent papers in an attempt to drive attention towards an AI-related death cult.
Re: Tree of Thoughts
#9Good talk on the paper https://www.youtube.com/watch?v=ut5kp56wW_4
Re: Tree of Thoughts
#10The author appears motivated by some... interesting... beliefs. Hard to tell if this entire thing is a joke or not. https://github.com/kyegomez/EXA#for-humanity https://blog.apac.ai/liberation-awaits EDIT: the author seems to be releasing poor implementations of recent papers in an attempt to drive attention towards an AI-related death cult.
I think these are pretty typical beliefs among AI researchers, they don't normally write it down on github though.