Will Kurt

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

Day 1 09/05/2024
3:30 pm - 4:30 pm

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”.

Day 1 09/05/2024
3:30 pm - 4:30 pm

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”.

Open Data Science

 

 

 

Open Data Science
One Broadway
Cambridge, MA 02142
info@odsc.com

Privacy Settings
We use cookies to enhance your experience while using our website. If you are using our Services via a browser you can restrict, block or remove cookies through your web browser settings. We also use content and scripts from third parties that may use tracking technologies. You can selectively provide your consent below to allow such third party embeds. For complete information about the cookies we use, data we collect and how we process them, please check our Privacy Policy
Youtube
Consent to display content from - Youtube
Vimeo
Consent to display content from - Vimeo
Google Maps
Consent to display content from - Google