/mucoco

Official Code for the papers: "Controlled Text Generation as Continuous Optimization with Multiple Constraints" and "Gradient-based Constrained Sampling from LMs"

Primary LanguagePythonMIT LicenseMIT

Stargazers