-
简介
你可以把GPT-3想象为一个阅读过大量文字的语言大师,它可以根据你的特定请求编写出所有类型的文本。
OpenAI GPT-3积木
要使用GPT-3模型来执行任务,你可以使用以下来自“人工智能”类别的报告积木(仅限高级版订阅用户):
https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/6b28b696-17a3-417f-a9ec-ea6ada5b3772.png" width="500" style="">
第一个输入是你的请求,例如“write a poem about the Sun”(写一首关于太阳的诗)。我们将在稍后讨论一下你可以提交什么类型的请求。第二个输入是词数限制。如果你输入“200”,那么结果文本将包含最多200个字。注意,GPT-3无法生成太长的文本。硬性限制为约1500字。
报告值
GPT-3积木是一种报告积木,因此它将直接报告模型生成的文本。
https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/0381390f-1271-41bb-9f37-e6605c7e5836.gif" width="700" style="">
注意,文本将由GPT-3模型随机生成,因此,你每次重新进行运行时,你将得到不同的结果:https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/d545cfbe-893b-4dd7-94ee-ddc1ae1f1b5b.gif" width="700" style="">
内容过滤
因为创益编程游乐场的用户主要是学龄学生,所以我们使用了非常高效的过滤器来拦截掉任何可能的不合适的请求或响应。例如,如果请求或响应中包含“kill”(杀死)这样的词语,它将会被拦截下来:

对报告值进行格式化
要以适当的格式查看结果,你可以按照以下步骤进行操作:
首先,如下图那样把报告值保存在一个变量中:
https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/689e8a7e-ebf3-4017-8fd5-22331259d9c4.png" width="1000" style="">
之后,如果你把这个变量显示在舞台上,你将看到它实际上包含了4行文字:
https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/a301bcbd-541e-4453-8f7d-07a18def6325.PNG" width="500" style="border-radius: 5px; border: 1px solid #29622d;">
第二步,你可以如下图所示那样分割文本并把句子保存在一个列表中(你必须首先建立一个名为“句子”的新列表):https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/87a43e01-593e-4d6a-9c29-b5c1c691fb1c.png" width="500" style="">
注意,“\n”是一个特殊符号,表示“行尾”。因此当我们使用“\n”分割文本时,每一行将作为新的一项添加到列表中:https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/a0ab2796-f79e-4af7-8e05-0c233d8e9d74.PNG" width="500" style="border-radius: 5px; border: 1px solid #29622d;">
请求类型
有大量不同的方法可以设计你的请求,GPT-3将总是能够得到一定的结果。以下是可为你带来启发的一些常用的请求类型的列表:
编写(格式)关于(主题)(Write (Format) About (Topic))
你可以要求GPT-3以特定格式编写关于一个主题的文本。以下是一些例子:
- 编写关于地球的一个句子(Write a sentence about the Earth)
- 编写关于狗的一首诗(Write a poem about a dog)
- 编写关于一棵树和一朵花的一个故事(Write a story about a tree and a flower)
- 编写关于一只猫和一只老鼠的一个笑话(Write a joke about a cat and a mouse)
- 编写牛顿和爱因斯坦之间的一次对话(Write a conversation between Newton and Einstein)
- 编写关于法式炸薯条的一首歌(Write a song about French Fries)
- 就像你是埃隆·马斯克那样编写一条推文(Write a Tweet as if you are Elon Musk)
- 编写以X开头的一个词(Write a word that starts with X)
- 编写一封电子邮件给老师对迟交作业作出道歉(Write an email to the teacher to apologize for the late homework)
- 编写一条文字信息邀请我的朋友来参加聚会(Write a text message to persuade my friend to come to the party)
提问
你可以简单地向GPT-3提出关于任何事实的一个问题,例如:
- 太阳有多大?(How big is the Sun?)
- 什么是原子?(What is an atom?)
- 美国内战是什么时候?(When was the Civil War?)
- 1900年1月1日是星期几?(What weekday is January 1st, 1900?)
- 一个汉堡包在印度要多少钱?(How much is a burger in India?)
- 如何用法语说再见?(How to say Goodbye in French?)
寻求建议
你可以要求GPT-3提供一些建议,例如:
- 给我10个男孩名字(Give me 10 names for boys)
- 想出一些方法来帮助本地图书馆(Brainstorm some ideas to help the local library)
- 推荐有关猫的Youtube视频(Recommend a Youtube video about cats)
- 芝加哥好吃的餐厅(Good restaurants in Chicago)
- 如何让更多人购买我的柠檬汁?(How to get more people to buy my lemon juice?)
重写某些文本
你可以要求GPT-3帮助你重写某些文本:
- 修正以下内容:I were home yesterday
- 修正以下内容:I am runing late
-
C CreatiCode Teacher moved this topic from Draft on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login