This is a repo for showcasing using Monte Carlo Search Tree(MCTS) with LLMs to solve gsm8k problems.
This is just a demo project that goes with my MCTS lecture video, so the implementation and code style can be a little bit rough, feel free to leave any issues or open PRs to contribute.
The MCTS implementation template is from minimal MCTS.
Watch how I implemented this Monte Carlo Search Tree on Bilibili(Chinese)
pip install -r requirements.txt
export OPENAI_API_KEY="Your API Key"
python main.py