Discover this podcast and so much more

Podcasts are free to enjoy without a subscription. We also offer ebooks, audiobooks, and so much more for just $11.99/month.

Efficient Guided Generation for Large Language Models

Efficient Guided Generation for Large Language Models

FromPapers Read on AI


Efficient Guided Generation for Large Language Models

FromPapers Read on AI

ratings:
Length:
21 minutes
Released:
Aug 27, 2023
Format:
Podcast episode

Description

In this article we show how the problem of neural text generation can be constructively reformulated in terms of transitions between the states of a finite-state machine. This framework leads to an efficient approach to guiding text generation with regular expressions and context-free grammars by allowing the construction of an index over a language model's vocabulary. The approach is model agnostic, allows one to enforce domain-specific knowledge and constraints, and enables the construction of reliable interfaces by guaranteeing the structure of the generated text. It adds little overhead to the token sequence generation process and significantly outperforms existing solutions. An implementation is provided in the open source Python library Outlines

2023: Brandon T. Willard, Rémi Louf



https://arxiv.org/pdf/2307.09702v4.pdf
Released:
Aug 27, 2023
Format:
Podcast episode

Titles in the series (100)

Keeping you up to date with the latest trends and best performing architectures in this fast evolving field in computer science. Selecting papers by comparative results, citations and influence we educate you on the latest research. Consider supporting us on Patreon.com/PapersRead for feedback and ideas.