This commit is contained in:
ysymyth 2023-07-04 22:51:19 -04:00
parent 066015df56
commit 57adb30df7

View File

@ -24,13 +24,15 @@ Also check [its tweet thread](https://twitter.com/ShunyuYao12/status/16593575474
- Install dependencies and `tot` package:
```bash
git clone https://github.com/princeton-nlp/tree-of-thought-llm
cd tree-of-thought-llm
pip install -r requirements.txt
pip install -e . # install `tot` package
```
## Quick Start
The following minimal script will attempt to solve the game of 24 with `4 5 6 10`:
The following minimal script will attempt to solve the game of 24 with `4 5 6 10` (might be a bit slow as it's using GPT-4):
```python
import argparse
from tot.methods.bfs import solve
@ -75,8 +77,6 @@ TBA.
## Citations
Please cite the paper and star this repo if you use ToT and find it interesting/useful, thanks! Feel free to contact shunyuyao.cs@gmail.com or open an issue if you have any questions.