This reposity contains the source code of the ACL'25 paper "Contrastive Perplexity for Controlled Generation: An Application in Detoxifying Large Language Models". Paper abstract: "The generation of undesirable and factually incorrect content of large language models poses a significant challenge and remains largely an unsolved issue. This pap...
-
Updated
Dec 18, 2025 - Python