use*_*237 3 text artificial-intelligence summarization gpt-3
需要 GPT-3 的有效提示来完成这个“编程”任务。创建有效的 GPT-3 提示本质上已成为一种新的编程形式(向计算机发出指令来完成任务)。
正在为 GPT-3 提示符的新生、不断发展的“编程”语言建立存储库,例如:
https://github.com/martonlanga/gpt3-prompts
http://gptprompts.wikidot.com/start
https://github.com/wgryc/gpt3-prompts
请参阅下面的工作示例,该示例工作正常,但并没有真正满足需求,并且不够可靠。
这是一个重要的、新兴的、快速发展的领域。
寻求能够实现标题中目标的提示:高度可靠地总结/缩短句子和/或段落,而不制造废话。
请审阅者,这对很多人来说都是一个重要的问题...不要心胸狭隘并认为因为 GPT-3 提示符还不是“传统”计算机语言,所以它们在这里没有一席之地。
感谢您的帮助
GPT-3 提示示例:
请总结一下下面的文章。微软正在洽谈收购 TikTok 字节跳动旗下社交媒体集团的谈判正值特朗普威胁采取行动之际
据知情人士透露,微软已经就收购 TikTok 进行了谈判,其中国所有者字节跳动面临着美国政府越来越大的压力,要求其出售这款视频共享应用程序,否则就有被列入该国黑名单的风险。
...文章的其余部分...“””
问:您能用三句话概括一下上面的文章吗?
问:您能用三句话概括一下上面的文章吗?
GPT-3 从一开始就提供了此功能。Davici 引擎最适合摘要(尽管以速度为代价 - Curie 和 Cushman 更安全,但另一方面更不准确)。
下面是一个例子。我摘取了维基百科有关人工智能的文章的片段,并且没有删除任何格式。使用令牌davinci-instruct-beta的最大响应长度100作为“简短摘要”:
输入:
人工智能(AI)是机器表现出的智能,不同于人类和动物表现出的自然智能,它涉及意识和情感。前一类和后一类之间的区别通常通过所选择的首字母缩略词来揭示。“强”人工智能通常被标记为 AGI(通用人工智能),而试图模仿“自然”智能的尝试被称为 ABI(人工生物智能)。领先的人工智能教科书将该领域定义为“智能代理”的研究:任何能够感知环境并采取行动以最大程度地成功实现其目标的机会的设备。3通俗地说,“人工智能”一词通常用于描述模仿人类与人类思维相关的“认知”功能的机器(或计算机),例如“学习”和“解决问题”。 [4]
随着机器的能力越来越强,被认为需要“智能”的任务常常被从人工智能的定义中删除,这种现象被称为人工智能效应。 [5] 特斯勒定理中的一句俏皮话是:“人工智能是尚未完成的事情。”[6] 例如,光学字符识别经常被排除在人工智能之外,[7] 已成为一种常规技术。[8] 通常归类为人工智能的现代机器功能包括成功理解人类语音、[9] 在战略游戏系统(例如国际象棋和围棋)中进行最高水平的竞争、[10] 自动驾驶汽车、内容交付网络中的智能路由以及军事模拟.[11]
太长了;博士
输出:
人工智能是机器表现出来的智能,不像人类和动物表现出的自然智能,涉及意识和情感。
您可以使用 Python(以及许多其他编程语言)从工作流程中调用此 API,在本例中使用以下代码片段:
import openai
openai.api_key 'KEY'
response = openai.Completion.create(
engine="davinci-instruct-beta",
prompt="Artificial intelligence (AI) is intelligence demonstrated by machines, unlike the natural intelligence displayed by humans and animals, which involves consciousness and emotionality. The distinction between the former and the latter categories is often revealed by the acronym chosen. 'Strong' AI is usually labelled as AGI (Artificial General Intelligence) while attempts to emulate 'natural' intelligence have been called ABI (Artificial Biological Intelligence). Leading AI textbooks define the field as the study of \"intelligent agents\": any device that perceives its environment and takes actions that maximize its chance of successfully achieving its goals.[3] Colloquially, the term \"artificial intelligence\" is often used to describe machines (or computers) that mimic \"cognitive\" functions that humans associate with the human mind, such as \"learning\" and \"problem solving\".[4]\n\nAs machines become increasingly capable, tasks considered to require \"intelligence\" are often removed from the definition of AI, a phenomenon known as the AI effect.[5] A quip in Tesler's Theorem says \"AI is whatever hasn't been done yet.\"[6] For instance, optical character recognition is frequently excluded from things considered to be AI,[7] having become a routine technology.[8] Modern machine capabilities generally classified as AI include successfully understanding human speech,[9] competing at the highest level in strategic game systems (such as chess and Go),[10] autonomously operating cars, intelligent routing in content delivery networks, and military simulations.[11]\n\ntl;dr:",
temperature=0.25,
max_tokens=100,
top_p=1
)
Run Code Online (Sandbox Code Playgroud)
response现在保存上述输出。
从我的主观角度来看,这篇文章的解释非常准确!