Skip to content

This is a repo for showcasing using MCTS with LLMs to solve gsm8k problems

License

Notifications You must be signed in to change notification settings

Wangmerlyn/MCTS-GSM8k-Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MCTS-GSM8k-Demo

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.

MCTS code template

The MCTS implementation template is from minimal MCTS.

Explaination

Watch how I implemented this Monte Carlo Search Tree on Bilibili(Chinese)

Installation

pip install -r requirements.txt

Run

Running generation with GPT-4o

export OPENAI_API_KEY="Your API Key"
python main.py

About

This is a repo for showcasing using MCTS with LLMs to solve gsm8k problems

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages