mirror of
https://github.com/princeton-nlp/tree-of-thought-llm
synced 2024-11-21 23:58:07 +00:00
update
This commit is contained in:
parent
066015df56
commit
57adb30df7
@ -24,13 +24,15 @@ Also check [its tweet thread](https://twitter.com/ShunyuYao12/status/16593575474
|
|||||||
|
|
||||||
- Install dependencies and `tot` package:
|
- Install dependencies and `tot` package:
|
||||||
```bash
|
```bash
|
||||||
|
git clone https://github.com/princeton-nlp/tree-of-thought-llm
|
||||||
|
cd tree-of-thought-llm
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
pip install -e . # install `tot` package
|
pip install -e . # install `tot` package
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Quick Start
|
## 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
|
```python
|
||||||
import argparse
|
import argparse
|
||||||
from tot.methods.bfs import solve
|
from tot.methods.bfs import solve
|
||||||
@ -75,8 +77,6 @@ TBA.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Citations
|
## 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.
|
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.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user