Skip to content

satoooh/SELF-DISCOVER

Repository files navigation

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

About

UNOFFICIAL Python implementation of the SELF-DISCOVER method (https://arxiv.org/abs/2402.03620)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published