OpenAi的 新模型 ChatGPT(gpt-3.5-turbo) 已发车。

文摘   科技   2023-03-02 11:36   菲律宾  

Introducing ChatGPT and Whisper APIs

引入 ChatGPT 和 Whisper API


此文为快速翻译的openai 官方blog(原汁原味) 后面出使用体验,dodo 和 小西预计今天更新新的模型,敬请关注。

Developers can now integrate ChatGPT and Whisper models into their apps and products through our API.

开发人员现在可以通过我们的 API 将 ChatGPT 和 Whisper 模型集成到他们的应用程序和产品中。

ChatGPT and Whisper models are now available on our API, giving developers access to cutting-edge language (not just chat!) and speech-to-text capabilities. Through a series of system-wide optimizations, we’ve achieved 90% cost reduction for ChatGPT since December; we’re now passing through those savings to API users. Developers can now use our open-source Whisper large-v2 model in the API with much faster and cost-effective results. ChatGPT API users can expect continuous model improvements and the option to choose dedicated capacity for deeper control over the models. We’ve also listened closely to feedback from our developers and refined our API terms of service to better meet their needs.

ChatGPT 和 Whisper 模型现在可以在我们的 API 上使用,让开发人员能够使用最先进的语言(而不仅仅是聊天!)以及语音文本转换功能。通过一系列系统范围的优化,自去年12月以来,ChatGPT 的成本降低了90% ; 我们现在正在将这些成本降低传递给 API 用户。开发人员现在可以在 API 中使用我们的开放源码 Whisper 大版本2模型,获得更快、更具成本效益的结果。ChatGPT API 用户可以期待持续的模型改进,并可以选择专用容量对模型进行更深入的控制。我们还仔细听取了开发人员的反馈,并改进了 API 服务条款,以更好地满足他们的需求。

Get started开始吧

Early users of ChatGPT and Whisper APIs

ChatGPT 和 Whisper API 的早期用户




Play video播放视频

My AI for Snapchat+

我的阅后即焚人工智能

Snap Inc., the creator of Snapchat, introduced My AI for Snapchat+ this week. The experimental feature is running on ChatGPT API. My AI offers Snapchatters a friendly, customizable chatbot at their fingertips that offers recommendations, and can even write a haiku for friends in seconds. Snapchat, where communication and messaging is a daily behavior, has 750 million monthly Snapchatters.

Snapchat 的创始人 Snap Inc. 本周推出了用于 Snapchat + 的 MyAI。实验特性在 ChatGPTAPI 上运行。我的人工智能提供了一个友好的,可定制的聊天机器人在他们的指尖提供建议,甚至可以写一个俳句朋友在几秒钟。Snapchat 每月有7.5亿个 Snapchat 用户,其中交流和信息是一种日常行为。



Play video播放视频

Quizlet Q-Chat

Quizlet Q-Chat

Quizlet is a global learning platform with more than 60 million students using it to study, practice and master whatever they’re learning. Quizlet has worked with OpenAI for the last three years, leveraging GPT-3 across multiple use cases, including vocabulary learning and practice tests. With the launch of ChatGPT API, Quizlet is introducing Q-Chat, a fully-adaptive AI tutor that engages students with adaptive questions based on relevant study materials delivered through a fun chat experience.

Quizlet 是一个全球性的学习平台,有超过6000万学生使用它来学习、练习和掌握他们所学的任何东西。Quizlet 已经与 OpenAI 合作了三年,利用 GPT-3跨越多个用例,包括词汇学习和实践测试。随着 ChatGPT API 的推出,Quizlet 引入了 Q-Chat,一个完全自适应的人工智能导师,通过一次有趣的聊天体验,让学生参与基于相关学习材料的自适应问题。

Play video播放视频

Instacart’s Ask Instacart

问 Instacart

Instacart is augmenting the Instacart app to enable customers to ask about food and get inspirational, shoppable answers. This uses ChatGPT alongside Instacart’s own AI and product data from their 75,000+ retail partner store locations to help customers discover ideas for open-ended shopping goals, such as “How do I make great fish tacos?” or “What’s a healthy lunch for my kids?” Instacart plans to launch “Ask Instacart” later this year.

Instacart 正在增强 Instacart 应用程序,使客户能够询问有关食品的问题,并得到鼓舞人心的、可购买的答案。它使用 ChatGPT 和 Instacart 自己的人工智能以及来自75,000多个零售合作商店的产品数据,帮助客户发现开放式购物目标的想法,比如“我如何做出好吃的鱼肉玉米饼?”或者“什么是我孩子的健康午餐?”Instacart 计划在今年晚些时候推出“ Ask Instacart”。

Play video播放视频

Shopify’s Shop app

Shopify 的 Shop 应用程序

Shop, Shopify’s consumer app, is used by 100 million shoppers to find and engage with the products and brands they love. ChatGPT API is used to power Shop’s new shopping assistant. When shoppers search for products, the shopping assistant makes personalized recommendations based on their requests. Shop’s new AI-powered shopping assistant will streamline in-app shopping by scanning millions of products to quickly find what buyers are looking for—or help them discover something new.

Shopify 的消费者应用程序 Shop 被1亿购物者用来寻找和参与他们喜爱的产品和品牌。ChatGPT API 用于为 Shop 的新购物助理提供电源。当顾客搜索商品时,购物助理会根据顾客的要求提供个性化的推荐。Shop 新推出的基于人工智能的购物助理将扫描数百万件商品,以快速找到买家想要的东西,或者帮助他们发现新的东西,从而简化应用程序内的购物流程。




Play video播放视频

The Speak app

说话软件

Speak is an AI-powered language learning app focused on building the best path to spoken fluency. They’re the fastest-growing English app in South Korea, and are already using the Whisper API to power a new AI speaking companion product, and rapidly bring it to the rest of the globe. Whisper’s human-level accuracy for language learners of every level unlocks true open-ended conversational practice and highly accurate feedback.

说话是一个人工智能驱动的语言学习应用程序,致力于建立口语流利的最佳途径。它们是韩国增长最快的英语应用程序,并且已经在使用 Whisper API 为一个新的人工智能伴侣产品提供动力,并迅速将其推广到全球其他地区。Whisper 为各级语言学习者提供的人类水平的准确性,开启了真正开放式的对话实践和高度准确的反馈。

ChatGPT API

聊天 GPT API

Model: The ChatGPT model family we are releasing today, gpt-3.5-turbo, is the same model used in the ChatGPT product. It is priced at $0.002 per 1k tokens, which is 10x cheaper than our existing GPT-3.5 models. It’s also our best model for many non-chat use cases—we’ve seen early testers migrate from text-davinci-003 to gpt-3.5-turbo with only a small amount of adjustment needed to their prompts.

Model: 我们今天发布的 ChatGPT 模型系列 gpt-3.5-turbo 与 ChatGPT 产品中使用的模型相同。它的售价为每1000个代币0.002美元,比我们现有的 GPT-3.5型号便宜10倍。对于许多非聊天用例来说,它也是我们最好的模型ーー我们已经看到早期的测试人员从 text-davinci-003迁移到 gpt-3.5-turbo,只需要对提示进行少量调整。


API: Traditionally, GPT models consume unstructured text, which is represented to the model as a sequence of “tokens.” ChatGPT models instead consume a sequence of messages together with metadata. (For the curious: under the hood, the input is still rendered to the model as a sequence of “tokens” for the model to consume; the raw format used by the model is a new format called Chat Markup Language (“ChatML”).)

API: 传统上,GPT 模型使用非结构化文本,这些文本被表示为一系列“令牌”相反,ChatGPT 模型将消息序列与元数据一起使用。(好奇的是: 在引擎盖下,输入仍然作为一系列“令牌”呈现给模型,供模型使用; 模型使用的原始格式是一种称为聊天标记语言(Chat Markup Language,“ ChatML”)的新格式。)

We’ve created a new endpoint to interact with our ChatGPT models:

我们已经创建了一个新的端点来与我们的 ChatGPT 模型进行交互:

  • Request请求

  • Response回应

  • Python bindingsPython 绑定

curl https://api.openai.com/v1/chat/completions
-H "Authorization: Bearer $OPENAI_API_KEY"
-H "Content-Type: application/json"
-d '{
"model": "gpt-3.5-turbo",
"messages": [{"role": "user", "content": "What is the OpenAI mission?"}]
}'

To learn more about the ChatGPT API, visit our Chat guide.

要了解更多有关 ChatGPT API 的信息,请访问我们的聊天指南。

ChatGPT upgrades

聊天 GPT 升级

We are constantly improving our ChatGPT models, and want to make these enhancements available to developers as well. Developers who use the gpt-3.5-turbo model will always get our recommended stable model, while still having the flexibility to opt for a specific model version. For example, today we’re releasing gpt-3.5-turbo-0301, which will be supported through at least June 1st, and we’ll update gpt-3.5-turbo to a new stable release in April. The models page will provide switchover updates.

我们正在不断改进 ChatGPT 模型,并希望开发人员也可以使用这些增强。使用 gpt-3.5-turbo 模型的开发人员将始终获得我们推荐的稳定模型,同时仍然可以灵活地选择特定的模型版本。例如,今天我们发布了 gpt-3.5-turbo-0301,它将至少支持到6月1日,我们将在4月份更新 gpt-3.5-turbo 到一个新的稳定版本。模型页面将提供切换更新。

Dedicated instances

专用实例

We are also now offering dedicated instances for users who want deeper control over the specific model version and system performance. By default, requests are run on compute infrastructure shared with other users, who pay per request. Our API runs on Azure, and with dedicated instances, developers will pay by time period for an allocation of compute infrastructure that’s reserved for serving their requests.

我们现在还为那些希望对特定模型版本和系统性能进行更深入控制的用户提供专用实例。默认情况下,请求在与其他用户共享的计算基础设施上运行,这些用户按请求付费。我们的 API 运行在 Azure 上,对于专用实例,开发人员将按时间段支付为服务他们的请求而保留的计算基础设施的分配费用。

Developers get full control over the instance’s load (higher load improves throughput but makes each request slower), the option to enable features such as longer context limits, and the ability to pin the model snapshot.

开发人员可以完全控制实例的负载(更高的负载可以提高吞吐量,但会降低每个请求的速度)、启用诸如更长上下文限制等特性的选项,以及固定模型快照的能力。

Dedicated instances can make economic sense for developers running beyond ~450M tokens per day. Additionally, it enables directly optimizing a developer’s workload against hardware performance, which can dramatically reduce costs relative to shared infrastructure. For dedicated instance inquiries, contact us.

对于每天运行超过450M 令牌的开发人员来说,专用实例具有经济意义。此外,它可以根据硬件性能直接优化开发人员的工作负载,这可以显著降低相对于共享基础设施的成本。对于专门的实例查询,请与我们联系。

Whisper API

语风 API

Whisper, the speech-to-text model we open-sourced in September 2022, has received immense praise from the developer community but can also be hard to run. We’ve now made the large-v2 model available through our API, which gives convenient on-demand access priced at $0.006 / minute. In addition, our highly-optimized serving stack ensures faster performance compared to other services.

Whisper,我们在2022年9月开源的语音到文本模型,得到了开发者社区的巨大赞誉,但也很难运行。我们现在已经通过 API 提供了大型 v2模型,它提供了方便的按需访问,价格为每分钟0.006美元。此外,我们高度优化的服务堆栈确保了比其他服务更快的性能。

Whisper API is available through our transcriptions (transcribes in source language) or translations (transcribes into English) endpoints, and accepts a variety of formats (m4a, mp3, mp4, mpeg, mpga, wav, webm):

Whisper API 可以通过我们的转录(转录为源语言)或翻译(转录为英语)端点获得,并接受各种格式(m4a,mp3,mp4,mpeg,mpga,wav,webm) :

  • Request请求

  • Response回应

  • Python bindingsPython 绑定

curl https://api.openai.com/v1/audio/transcriptions \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-H "Content-Type: multipart/form-data" \
-F model="whisper-1" \
-F file="@/path/to/file/openai.mp3"

To learn more about the Whisper API, visit our Speech to Text guide.

要了解更多关于 WhisperAPI 的信息,请访问我们的“从演讲到文本”指南。

Developer focus

开发者焦点

Over the past six months, we’ve been collecting feedback from our API customers to understand how we can better serve them. We’ve made concrete changes, such as:

在过去的六个月中,我们一直在收集 API 客户的反馈,以了解如何更好地为他们服务。我们已经做出了具体的改变,例如:

  • Data submitted through the API is no longer used for service improvements (including model training) unless the organization opts in

  • 通过 API 提交的数据不再用于服务改进(包括模型培训) ,除非组织选择

  • Implementing a default 30-day data retention policy for API users, with options for stricter retention depending on user needs.

  • 为 API 用户实现默认的30天数据保留策略,并根据用户需要提供更严格的数据保留选项。

  • Removing our pre-launch review (unlocked by improving our automated monitoring)

  • 删除我们的发射前评审(通过改进自动监视解锁)

  • Improving developer documentation

  • 改进开发人员文档

  • Simplifying our Terms of Service and Usage Policies, including terms around data ownership: users own the input and output of the models.

  • 简化我们的服务条款和使用策略,包括关于数据所有权的条款: 用户拥有模型的输入和输出。

For the past two months our uptime has not met our own expectations nor that of our users. Our engineering team’s top priority is now stability of production use cases—we know that ensuring AI benefits all of humanity requires being a reliable service provider. Please hold us accountable for improved uptime over the upcoming months!

在过去的两个月中,我们的正常运行时间没有达到我们自己的期望,也没有达到我们的用户的期望。我们的工程团队现在的首要任务是稳定生产用例ーー我们知道,要确保人工智能造福全人类,就需要成为一个可靠的服务提供商。请让我们为未来几个月的正常运行时间的改善负责!

We believe that AI can provide incredible opportunities and economic empowerment to everyone, and the best way to achieve that is to allow everyone to build with it. We hope that the changes we announced today will lead to numerous applications that everyone can benefit from. Start building next-generation apps powered by ChatGPT & Whisper.

我们相信,人工智能可以为每个人提供难以置信的机会和经济赋权,实现这一目标的最佳途径是允许每个人利用人工智能进行建设。我们希望,我们今天宣布的变化将导致大量的应用程序,每个人都可以从中受益。开始构建由 ChatGPT & Whisper 驱动的下一代应用程序。


为了让大家快速了解新的模型信息,这个是快速翻译,后面出详细使用体验。

AGI01
专注AGI技术研究、最新AGI技术分享给大家,欢迎来讨论AI业务需求、及落地方案。
 最新文章