Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 833 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 833 Bytes

SELF-DISCOVER prompt

This repository is an UNOFFICIAL Python implementation of the SELF-DISCOVER paper. Using self_discover.py, you can easily try the SELF-DISCOVER method.

How to use

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