<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[OpenAI GPT-3模型（高级版）]]></title><description><![CDATA[<p dir="auto"> </p>
<h2><a class="anchor-offset" name="简介"></a>简介</h2>
<p dir="auto"><a href="https://openai.com/blog/gpt-3-apps/" target="_blank" rel="noopener noreferrer nofollow ugc">GPT-3</a>是由<a href="https://openai.com/" target="_blank" rel="noopener noreferrer nofollow ugc">OpenAI</a>开发的一个文本生成模型。</p>
<p dir="auto">你可以把GPT-3想象为一个阅读过大量文字的语言大师，它可以根据你的特定请求编写出所有类型的文本。</p>
<p dir="auto"> <br />
 </p>
<h2><a class="anchor-offset" name="openai-gpt-3积木"></a>OpenAI GPT-3积木</h2>
<p dir="auto">要使用GPT-3模型来执行任务，你可以使用以下来自“人工智能”类别的报告积木（仅限高级版订阅用户）：</p>
<p dir="auto"><img src="https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/6b28b696-17a3-417f-a9ec-ea6ada5b3772.png" width="500" /></p>
<p dir="auto"> <br />
第一个输入是你的请求，例如“write a poem about the Sun”（写一首关于太阳的诗）。我们将在稍后讨论一下你可以提交什么类型的请求。</p>
<p dir="auto">第二个输入是词数限制。如果你输入“200”，那么结果文本将包含<strong>最多</strong>200个字。注意，GPT-3无法生成太长的文本。硬性限制为约1500字。</p>
<p dir="auto"> <br />
 </p>
<h2><a class="anchor-offset" name="报告值"></a>报告值</h2>
<p dir="auto">GPT-3积木是一种报告积木，因此它将直接报告模型生成的文本。</p>
<p dir="auto"><img src="https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/0381390f-1271-41bb-9f37-e6605c7e5836.gif" width="700" /></p>
<p dir="auto"> <br />
注意，文本将由GPT-3模型随机生成，因此，<strong>你每次重新进行运行时，你将得到不同的结果</strong>：</p>
<p dir="auto"><img src="https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/d545cfbe-893b-4dd7-94ee-ddc1ae1f1b5b.gif" width="700" /></p>
<p dir="auto"> <br />
 </p>
<h2><a class="anchor-offset" name="内容过滤"></a>内容过滤</h2>
<p dir="auto">因为创益编程游乐场的用户主要是学龄学生，所以我们使用了非常高效的过滤器来拦截掉任何可能的不合适的请求或响应。例如，如果请求或响应中包含“kill”（杀死）这样的词语，它将会被拦截下来：</p>
<p dir="auto"><img src="https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/b719aa5c-e79a-450f-801d-5cfb9c8a30cc.png" alt="Screen Shot 2023-03-08 at 11.21.55 AM.png" class=" img-fluid img-markdown" /></p>
<p dir="auto"> <br />
 </p>
<h2><a class="anchor-offset" name="对报告值进行格式化"></a>对报告值进行格式化</h2>
<p dir="auto">要以适当的格式查看结果，你可以按照以下步骤进行操作：</p>
<p dir="auto">首先，如下图那样把报告值保存在一个变量中：</p>
<p dir="auto"><img src="https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/689e8a7e-ebf3-4017-8fd5-22331259d9c4.png" width="1000" /></p>
<p dir="auto">之后，如果你把这个变量显示在舞台上，你将看到它实际上包含了4行文字：</p>
<p dir="auto"><img src="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" /></p>
<p dir="auto"> <br />
第二步，你可以如下图所示那样分割文本并把句子保存在一个列表中（你必须首先建立一个名为“句子”的新列表）：</p>
<p dir="auto"><img src="https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/87a43e01-593e-4d6a-9c29-b5c1c691fb1c.png" width="500" /></p>
<p dir="auto"> <br />
注意，“\n”是一个特殊符号，表示“行尾”。因此当我们使用“\n”分割文本时，每一行将作为新的一项添加到列表中：</p>
<p dir="auto"><img src="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" /></p>
<p dir="auto"> <br />
 </p>
<h2><a class="anchor-offset" name="请求类型"></a>请求类型</h2>
<p dir="auto">有大量不同的方法可以设计你的请求，GPT-3将总是能够得到一定的结果。以下是可为你带来启发的一些常用的请求类型的列表：</p>
<p dir="auto"> </p>
<h2><a class="anchor-offset" name="编写-格式-关于-主题-write-format-about-topic"></a>编写（格式）关于（主题）（Write (Format) About (Topic)）</h2>
<p dir="auto">你可以要求GPT-3以特定格式编写关于一个主题的文本。以下是一些例子：</p>
<ul>
<li>编写关于地球的一个句子（Write a sentence about the Earth）</li>
<li>编写关于狗的一首诗（Write a poem about a dog）</li>
<li>编写关于一棵树和一朵花的一个故事（Write a story about a tree and a flower）</li>
<li>编写关于一只猫和一只老鼠的一个笑话（Write a joke about a cat and a mouse）</li>
<li>编写牛顿和爱因斯坦之间的一次对话（Write a conversation between Newton and Einstein）</li>
<li>编写关于法式炸薯条的一首歌（Write a song about French Fries）</li>
<li>就像你是埃隆·马斯克那样编写一条推文（Write a Tweet as if you are Elon Musk）</li>
<li>编写以X开头的一个词（Write a word that starts with X）</li>
<li>编写一封电子邮件给老师对迟交作业作出道歉（Write an email to the teacher to apologize for the late homework）</li>
<li>编写一条文字信息邀请我的朋友来参加聚会（Write a text message to persuade my friend to come to the party）</li>
</ul>
<p dir="auto"> </p>
<h2><a class="anchor-offset" name="提问"></a>提问</h2>
<p dir="auto">你可以简单地向GPT-3提出关于任何事实的一个问题，例如：</p>
<ul>
<li>太阳有多大？（How big is the Sun?）</li>
<li>什么是原子？（What is an atom?）</li>
<li>美国内战是什么时候？（When was the Civil War?）</li>
<li>1900年1月1日是星期几？（What weekday is January 1st, 1900?）</li>
<li>一个汉堡包在印度要多少钱？（How much is a burger in India?）</li>
<li>如何用法语说再见？（How to say Goodbye in French?）</li>
</ul>
<p dir="auto"> </p>
<h2><a class="anchor-offset" name="寻求建议"></a>寻求建议</h2>
<p dir="auto">你可以要求GPT-3提供一些建议，例如：</p>
<ul>
<li>给我10个男孩名字（Give me 10 names for boys）</li>
<li>想出一些方法来帮助本地图书馆（Brainstorm some ideas to help the local library）</li>
<li>推荐有关猫的Youtube视频（Recommend a Youtube video about cats）</li>
<li>芝加哥好吃的餐厅（Good restaurants in Chicago）</li>
<li>如何让更多人购买我的柠檬汁？（How to get more people to buy my lemon juice?）</li>
</ul>
<p dir="auto"> </p>
<h2><a class="anchor-offset" name="重写某些文本"></a>重写某些文本</h2>
<p dir="auto">你可以要求GPT-3帮助你重写某些文本：</p>
<ul>
<li>修正以下内容：I were home yesterday</li>
<li>修正以下内容：I am runing late</li>
</ul>
]]></description><link>https://forum.creaticode.com/topic/848/openai-gpt-3模型-高级版</link><generator>RSS for Node</generator><lastBuildDate>Fri, 17 Jul 2026 05:19:37 GMT</lastBuildDate><atom:link href="https://forum.creaticode.com/topic/848.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 03 Mar 2023 08:54:03 GMT</pubDate><ttl>60</ttl></channel></rss>