一个开源安全GPT3的协作集合,可以很好地工作
gpt-scrolls的Python项目详细描述
gpt滚动
一个开源安全GPT-3提示的协作集合
请随时提供您的提示!在
入门
要使用gpt滚动,您需要访问OpenAI API。如果你没有,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
在自己的应用程序中运行滚动条
^{pr2}$在本地运行
如果要通过克隆repo使用不带pip
的gpt滚动:
$ 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:我计划把它变成一个易于使用的CLI工具。在
设计目标
gpt滚动提示的目标应该是:
- ^{str1}$effective:它们应该可靠地生成所需的输出类
- efficient:它们应该尽可能短
- safe:它们应该尽量减少有毒/有害输出的出现
任何贡献都要记住这一点。(例如:如果你发现一个提示在没有一个例子的情况下同样有效,你可以提交一份PR来删除这个例子,引用的是效率)
- 项目
标签: