SOTAVerified

BERTian Poetics: Constrained Composition with Masked LMs

2021-10-28Code Available0· sign in to hype

Christopher Akiki, Martin Potthast

Code Available — Be the first to reproduce this paper.

Reproduce

Code

Abstract

Masked language models have recently been interpreted as energy-based sequence models that can be generated from using a Metropolis--Hastings sampler. This short paper demonstrates how this can be instrumentalized for constrained composition and explores the poetics implied by such a usage. Our focus on constraints makes it especially apt to understand the generated text through the poetics of the OuLiPo movement.

Reproductions