TempLM: Distilling Language Models into Template-Based Generators

05/23/2022
by   Tianyi Zhang, et al.
0

While pretrained language models (PLMs) have greatly improved text generation, they have also been known to produce unfaithful or inappropriate content. In contrast, classic template-based systems provide strong guarantees of faithfulness at the cost of fluency. We propose TempLM, which achieves the best of both worlds by distilling a PLM into a template-based generator. On the E2E and SynthBio data-to-text datasets, we show that TempLM is more faithful than the original PLM and is more fluent than prior template systems. Notably, on an out-of-domain evaluation, TempLM reduces a finetuned BART model's unfaithfulness rate from 83 templates substantially improve upon human-written ones in BERTScore.

READ FULL TEXT
research
04/09/2019

Text Generation with Exemplar-based Adaptive Decoding

We propose a novel conditioned text generation model. It draws inspirati...
research
06/24/2023

Large Language Models as Sous Chefs: Revising Recipes with GPT-3

With their remarkably improved text generation and prompting capabilitie...
research
07/03/2023

Prompt Middleware: Mapping Prompts for Large Language Models to UI Affordances

To help users do complex work, researchers have developed techniques to ...
research
07/16/1999

Mixing representation levels: The hybrid approach to automatic text generation

Natural language generation systems (NLG) map non-linguistic representat...
research
06/07/2020

A Formal Definition of Stochastic Activity Networks Templates

Model-based evaluation has been extensively used to estimate performance...
research
12/10/2021

Jekyll RDF: Template-Based Linked Data Publication with Minimized Effort and Maximum Scalability

Over the last decades the Web has evolved from a human-human communicati...
research
09/19/2019

Generating Philosophical Statements using Interpolated Markov Models and Dynamic Templates

Automatically imitating input text is a common task in natural language ...

Please sign up or login with your details

Forgot password? Click here to reset