DSPy Assertions: Computational Constraints for Self-Refining LM Pipelines // Arnav Singhvi // Talk

  Рет қаралды 352

MLOps.community

MLOps.community

2 ай бұрын

// Abstract
Chaining language model (LM) calls as composable modules is fueling a powerful way of programming. However, ensuring that LMs adhere to important constraints remains a key challenge, one often addressed with heuristic “prompt engineering”. We introduce LM Assertions, a new programming construct for expressing computational constraints that LMs should satisfy. We integrate our constructs into the recent DSPy programming model for LMs, and present new strategies that allow DSPy to compile programs with arbitrary LM Assertions into systems that are more reliable and more accurate. In DSPy, LM Assertions can be integrated at compile time, via automatic prompt optimization, and and/or at inference-time, via automatic self-refinement and backtracking.
// Bio
Arnav recently-graduated undergrad in CS at UC Berkeley. Researcher with Stanford NLP Group, contributing to DSPy framework
A big thank you to our Premium Sponsors, ‪@Databricks‬ and ‪@baseten‬ for their generous support!
// Sign up for our Newsletter to never miss an event:
mlops.community/join/
// Watch all the conference videos here:
home.mlops.community/home/col...
// Check out the MLOps Community podcast: open.spotify.com/show/7wZygk3...
// Read our blog:
mlops.community/blog
// Join an in-person local meetup near you:
mlops.community/meetups/
// MLOps Swag/Merch:
mlops-community.myshopify.com/
// Follow us on Twitter:
/ mlopscommunity
//Follow us on Linkedin:
/ mlopscommunity

Пікірлер: 1
@irrelevantdata
@irrelevantdata Ай бұрын
Are "question", "answer", "long_document" and "summary" variables, and if so, where are they declared? 5:17 What operation does this symbol "->" perform?
A clash of kindness and indifference #shorts
00:17
Fabiosa Best Lifehacks
Рет қаралды 39 МЛН
Русалка
01:00
История одного вокалиста
Рет қаралды 5 МЛН
1❤️
00:17
Nonomen ノノメン
Рет қаралды 13 МЛН
Structured Outputs with DSPy
28:54
Connor Shorten
Рет қаралды 6 М.
Are LLMs the Beginning or End of NLP?
1:00:56
Simons Institute
Рет қаралды 26 М.
DSPy and ColBERT with Omar Khattab! - Weaviate Podcast #85
31:26
Weaviate • Vector Database
Рет қаралды 5 М.
François Chollet - Creating Keras 3
1:05:32
TensorFlow
Рет қаралды 18 М.
Accelerating Multimodal AI // Ethan Rosenthal // MLOps Podcast #242
54:58
This AI Skill Will Put You Ahead of 98% of People
30:19
David Ondrej
Рет қаралды 16 М.
Hisense Official Flagship Store Hisense is the champion What is going on?
0:11
Special Effects Funny 44
Рет қаралды 2,9 МЛН
ПОКУПКА ТЕЛЕФОНА С АВИТО?🤭
1:00
Корнеич
Рет қаралды 3,7 МЛН
Clicks чехол-клавиатура для iPhone ⌨️
0:59