SuperXiang / gdc

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

About

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

License:Other


Languages

Language:Python 100.0%