← all repositories

salesforce/ctrl

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

1.9k stars Python Language Models
ctrl
Velocity · 7d
+0.8
★ / day
Trend
steady
star history

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.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.