Skip to main content

gpt-scrolls

A collaborative collection of open-source safe GPT-3 prompts that work well

Feel free to contribute your prompts!

Getting Started

To use gpt-scrolls, you'll need access to the OpenAI API. If you haven't, sign up for the beta.

$ pip install gpt-scrolls
$ export OPENAI_API_KEY=...
$ python -c "import scrolls; print(scrolls.run('creative/philosopher'))"

I perused with interest and some confusion the very detailed description of autonomous society as envisioned by the creators of this simulation, for it reminded me of the doomed civilization of the Onos; they too desired self-replicating programs, a necessary foundation in real-space for artificial intelligence; and the created what they thought was self-replicating, except that they had no command over the experiment; it was uncontrollable, and indeed uncontrollable in about 90 minutes.

$ python -c "import scrolls; print(scrolls.run('creative/business-ideas'))"
Last Mile - Same day delivery service that picks and takes out the trash and delivers

Running scrolls in your own app

import scrolls

idea = scrolls.run('creative/business-ideas')
print(idea)

Running locally

If you want to use gpt-scrolls without pip by cloning the repo:

$ git clone git@github.com:maraoz/gpt-scrolls.git
$ cd gpt-scrolls/
$ python3 -m venv .scrolls-env
$ source .scrolls-env/bin/activate
(.scrolls-env) $ pip install -r requirements.txt
(.scrolls-env) $ export OPENAI_API_KEY=...
(.scrolls-env) $ python scrolls/run.py "top10/women"
~~~Rosa Parks

2. ~~~Cleopatra

3. ~~~Joan of Arc

4. ~~~Madonna

5. ~~~Queen Elizabeth I

6. ~~~Elizabeth II

7. ~~~Tamar

8. ~~~Billie Jean King

9. ~~~Catherine the Great

10. ~~~Elizabeth I

Note: I'm planning to turn this into a easy-to-use CLI tool.

Design goals

gpt-scroll prompts should aim to be:

  • effective: they should reliably produce desired classes of outpupts
  • efficient: they should be as short as possible
  • safe: they should minimize appearance of toxic/harmful output

Have this in mind for any contribution. (eg: if you find that a prompt works equally well without one example, you might submit a PR to remove that example, citing efficiency)

Metadata

Release files for gpt-scrolls 0.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gpt-scrolls 0.0.9
File Size Uploaded
gpt-scrolls-0.0.9.tar.gz 21.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gpt-scrolls 0.0.9
File Interpreter ABI Platform
gpt_scrolls-0.0.9-py3-none-any.whl Python 3 none any Details

Total release size: 52.9 kB

Release files / gpt-scrolls-0.0.9.tar.gz

Download URL gpt-scrolls-0.0.9.tar.gz
Size 21.7 kB
Tags Source
SHA-256 checksum
How to use checksums
00a3431eb72ab61b482685d1a3ff78fbd800aff251ac9c5abc41623be6528bd1
BLAKE2b-256 checksum
How to use checksums
2769d7bfa9bb73da86a021dddea9133f0fe1ff77ccdf48fd248f07fd206a2e9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.6

Release files / gpt_scrolls-0.0.9-py3-none-any.whl

Download URL gpt_scrolls-0.0.9-py3-none-any.whl
Size 31.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0cb9adab377ec568cb5f51e54c6364349f3cc7f525fd35d9b1a756e72ce1a446
BLAKE2b-256 checksum
How to use checksums
4f67a0c7a452ead5df99b24797f32996ca682c4d3a095e3126261267e45f01e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.6

Release history Release notifications | RSS feed

This release

0.0.9 This release

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page