/gdc

Code accompanying our papers on the "Generative Distributional Control" framework

Primary LanguagePythonOtherNOASSERTION

Generative Distributional Control

Generative Distributional Control (GDC) is a general framework for imposing constraints on samples of pretrained language models. The constraints can be either pointwise (e.g. all samples must be non-offensive) or distributional (e.g. a specified percentage of samples must mention females).

This repo contains code accompanying the following three papers: