This repository is an UNOFFICIAL Python implementation of the SELF-DISCOVER paper.
Using self_discover.py
, you can easily try the SELF-DISCOVER method.
This repo uses Rye and Dev Containers.
- clone this repo
- build container
- use the command "Dev Containers: Open Folder in Container..." from VSCode command palette.
After building, reopen the shell or run the following command:
exec $SHELL -l
Create an .env file and set the OPENAI_API_KEY.
OPENAI_API_KEY=sk-...
run test_self_discover.py
(testing for problem statements from the MATH dataset mentioned in the paper)
rye sync
rye run python src/test_self_discover.py