salesforce/ctrl
A conditional transformer language model that enables controllable text generation through control codes.

CTRL is a conditional transformer language model released by Salesforce research that generates text with user-specified control over style, domain, and other attributes via control codes. The model can be fine-tuned on custom datasets and was subsequently integrated into the HuggingFace Transformers library. It includes utilities for converting TensorFlow checkpoints to PyTorch format and supports various text generation parameters like temperature and repetition penalty.