You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+17-20Lines changed: 17 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,23 @@
1
-
# Tree of Thoughts (ToT)
2
-
3
-
Offical implementation (code, prompts, model outputs) for paper [Tree of Thoughts: Deliberate Problem Solving with Large Language Models](https://arxiv.org/abs/2305.10601).
1
+
# Offical Repo of Tree of Thoughts (ToT)
4
2
3
+
Offical implementation for paper [Tree of Thoughts: Deliberate Problem Solving with Large Language Models](https://arxiv.org/abs/2305.10601) with code, prompts, model outputs.
5
4
Also check [its tweet thread](https://twitter.com/ShunyuYao12/status/1659357547474681857) in 1min.
6
5
6
+
**Note: https://github.com/kyegomez/tree-of-thoughts is not the offical/correct implementation for the results in the paper. Please check https://github.com/ysymyth/tree-of-thought-llm/issues/17**
7
+
8
+
Please cite the paper and star this repo if you use ToT and find it interesting/useful. Thanks!
9
+
10
+
```bibtex
11
+
@misc{yao2023tree,
12
+
title={{Tree of Thoughts}: Deliberate Problem Solving with Large Language Models},
13
+
author={Shunyu Yao and Dian Yu and Jeffrey Zhao and Izhak Shafran and Thomas L. Griffiths and Yuan Cao and Karthik Narasimhan},
14
+
year={2023},
15
+
eprint={2305.10601},
16
+
archivePrefix={arXiv},
17
+
primaryClass={cs.CL}
18
+
}
19
+
```
20
+
7
21
8
22
## Setup
9
23
You need to first have an OpenAI API key and store it in the environment variable ``OPENAI_API_KEY`` (see [here](https://help.openai.com/en/articles/5112595-best-practices-for-api-key-safety)). If you use custom base url, set it by environment variable ``OPENAI_API_BASE`` (e.g. https://api.openai.com/v1).
@@ -37,20 +51,3 @@ Feel free to contact shunyuyao.cs@gmail.com or open an issue if you have any que
37
51
38
52
39
53
40
-
## Questions
41
-
Feel free to contact shunyuyao.cs@gmail.com or open an issue if you have any questions.
42
-
43
-
44
-
45
-
## Citation
46
-
47
-
```bibtex
48
-
@misc{yao2023tree,
49
-
title={{Tree of Thoughts}: Deliberate Problem Solving with Large Language Models},
50
-
author={Shunyu Yao and Dian Yu and Jeffrey Zhao and Izhak Shafran and Thomas L. Griffiths and Yuan Cao and Karthik Narasimhan},
0 commit comments