一个开源安全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第三方库


热门话题
通过java发送电子邮件时无法连接到SMTP主机:10.0.1.9,端口:80,响应:1   java如何在groovy中执行url?   java无法删除和创建有关片段活动的数据   从java应用程序到elasticsearch的多线程并发输出   java如何使用FB Graph API从Facebook页面查找视频?   java玩家应该能够创建自己的团队,并可以邀请他人加入   java长度转换器安卓 studio   java无法获取POM中提供的密码。xml插件配置   java SSLsocket卡在关闭\u等待中   Java蓝牙API   java在WildFly 10中使用自定义SSLSocketFactory   java如何准确地将浮点解析为字符串?   在java中过滤集合   java如何创建eclipse插件?   透明度如何在调整缓冲区大小后删除黑色背景java   java为什么选择Quartz 2。*不清除Postgres数据库中的索引?   java Android Espresso:将listview中的行数保存到变量   java从IntelliJ IDEA插件运行sbt构建   带有Selenium webdriver的firefox Primefaces selectOneMenu未选择项目+Java   java如何显示LinkedBinaryTree