Загрузка видео...

Не удалось загрузить видео

На главную

we made AI structured outputs 1 MILLION times faster

143,018 просмотров • 1 год назад •via X (Twitter)

Комментарии: 10

Фото профиля bycloud
bycloud1 год назад

is this a smaller model finetuned on structured data or is there something unique u guys are also pushing?

Фото профиля John
John1 год назад

it's actually a larger model, somewhat similar to the way sparse mixture of depths/experts works but with millions of individual shards that we project into smaller submodels at runtime

Фото профиля albs — 3/staccs
albs — 3/staccs1 год назад

i believe the scientific term for this is “absolute banger”

Фото профиля feulf.eth
feulf.eth1 год назад

The benchmark are against gpt-4-turbo and 3-turbo. A better test could be with gpt-4o-2024-08-06 which implements structured outputs:

Фото профиля John
John1 год назад

OpenAI's structured outputs mode only supports ~5% of our benchmarks, since we use a lot of features they don't support (like optional fields, regex strings, format strings like emails and ISO datetime/date, numbers with min/max, etc.) and because they error on large schemas.

Фото профиля Maxime Batandeo
Maxime Batandeo1 год назад

@rauchg this seems perfect for generative UI and AI SDK ?

Фото профиля John
John1 год назад

@rauchg indeed it is

Фото профиля Calvin
Calvin1 год назад

based

Фото профиля Brock
Brock1 год назад

Fucking 🔥

Фото профиля parm
parm1 год назад

amazing

Похожие видео

New Short Course: Getting Structured LLM Output! Learn how to get structured outputs from your LLM applications in this course, built in partnership with .txt, and taught by Will Kurt, a Founding Engineer, and , Developer Relations Engineer. It's challenging for software to automatically parse through an LLM's freeform text outputs. Structured outputs—like JSON—solve this by converting natural language into consistent, clear, data that a machine can read and process. This course teaches you how to generate structured outputs while building several use cases, including a social media analysis agent. You’ll learn about structured outputs and efficient ways to generate outputs in your defined schema or format. You’ll begin by using structured output APIs, then use re-prompting libraries like “instructor” to generate structured output. Finally, you’ll learn how constrained decoding works; this is a very clever technique in which constraints are applied on each subsequent token generated, blocking any tokens that don’t fit your defined schema. In detail, you’ll: - Learn why structured outputs are important, how they allow for scalable software development, and the different approaches to generate them, including vendor-provided APIs, re-prompting libraries, and structured generation. - Build a simple social media agent using OpenAI’s structured output API, learn how to define a model's desired structured output using Pydantic, and perform basic programming with your outputs, such as importing structured data into a data frame using pandas. - Learn how to use the open-source library "instructor," which checks the structured output of the model and re-prompts the model until it validates the desired output, and explore the limitations of this approach. - Understand how structured generation by the “outlines” library works by modifying LLM logits, on a per-generated-token basis based on the desired format, to give a particular output structure. - Learn how regular expressions, which outlines works with, are represented as finite-state machines, and how they can be used to develop a range of structured outputs beyond JSON. By the end of this course, you’ll have broadened your knowledge of the approaches you can use to get structured outputs from your LLM applications. Please sign up here:

Andrew Ng

89,720 просмотров • 1 год назад