Will Kurt
Author | Founding Engineer + Advocate at .txt
Will is an Engineer + Advocate for .txt working on helping people understand how structured generation with Outlines can help them get better results from Open LLMs. He has over a decade of experience working in the AI/ML space. Passionate about helping people understand technical topics, he is the author of "Bayesian Statistics the Fun Way" (No Starch 2019), "Get Programming with Haskell" (Manning 2018), the "Count Bayesie" blog and the forthcoming "A Damn Fine Stable Diffusion Book" (Manning, 2025).
All Sessions by Will Kurt
Reliable Output from LLMs using Structured Generation with Outlines
<span class="etn-schedule-location"> <span class="firstfocus">LLMs</span> <span class="secfocus">Intermediate</span> </span>Have you found yourself working with an LLM as prompting it with phrases such as “Pretty please use JSON” or “I’ll tip you $1000 if you use JSON”? Maybe you tend to avoid LLMs altogether because you just can’t stomach the idea of prompt “engineering” being the only way to program these powerful models. Well it turns out there is a better way: Structured Generation with Outlines! Outlines is an open source library that works with open models and allows you full control of the output from your model. Want the model to reply ‘yes’ or ‘no’? No problem! You want JSON, you’ll get json! Want to do question answering and have exact control over the length of time your model can “think”… well probably not yet, but you *can* do that to! In this workshop we’ll walk through increasing sophisticated examples that show you the power of structured generation to get better outputs from your model, discuss many of the additional benefits of structured generation, and demonstrate a workflow that makes working with LLMs feel much more like software engineering as opposed to “prompt hacking”.
Reliable Output from LLMs using Structured Generation with Outlines
<span class="etn-schedule-location"> <span class="firstfocus">LLMs</span> <span class="secfocus">Intermediate</span> </span>Have you found yourself working with an LLM as prompting it with phrases such as “Pretty please use JSON” or “I’ll tip you $1000 if you use JSON”? Maybe you tend to avoid LLMs altogether because you just can’t stomach the idea of prompt “engineering” being the only way to program these powerful models. Well it turns out there is a better way: Structured Generation with Outlines! Outlines is an open source library that works with open models and allows you full control of the output from your model. Want the model to reply ‘yes’ or ‘no’? No problem! You want JSON, you’ll get json! Want to do question answering and have exact control over the length of time your model can “think”… well probably not yet, but you *can* do that to! In this workshop we’ll walk through increasing sophisticated examples that show you the power of structured generation to get better outputs from your model, discuss many of the additional benefits of structured generation, and demonstrate a workflow that makes working with LLMs feel much more like software engineering as opposed to “prompt hacking”.
