一个开源安全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来删除这个例子,引用的是效率)

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
Javaservlet,使用Quartz发送邮件   用Java编写XYRectangle类   java Docker/AWS ECS容器支持的服务(端点)数量   音频Java读取WAV文件作为浮点数组   java为什么是日历。九月不起作用了?   java连接到HTTPS url并发布到它   java线程动画示例不起作用   java查找HashMap是否包含所选值和返回键   java与后端API的交互   JavaFX启动时在JavaFX中执行应用程序启动异常   每T秒从Java运行一次MATLAB   java@Array(长度=?)怎么样OpenHFT中的注释/使用的值   java无法从InputStream读取多个可外部化的对象   java My RestController不返回对象的所有属性   java使Android XML阅读器只读取XML文件的一部分   java注释会影响编译时吗?   从Java到C#的迭代器方法与接口的等效性,然后在类上实现?   swing为什么Java中的侦听器相互依赖?