CTRL: A Conditional Transformer Language Model for Controllable Generation
Nitish Shirish Keskar, McCann, Bryan, Lav R. Varshney et al. · arXiv (Cornell University) · 2019
Large-scale language models show promising text generation capabilities, but users cannot easily control particular aspects of the generated text. We release CTRL, a 1.63 billion-parameter conditional transformer language model, trained to condition on control codes that govern style, content, and task-specific behavior. Control codes were derived from structure that naturally co-occurs with raw text, preserving the advantages of unsupervised learning while providing more explicit control over text generation. These codes also allow CTRL to predict which parts of the training data are most likely given a sequence. This provides a potential method for analyzing large amounts of data via model-based source attribution. We have released multiple full-sized, pretrained versions of CTRL at https://github.com/salesforce/ctrl.
Cited by 730 works. doi:10.48550/arxiv.1909.05858 Open-access PDF
Authors
References
- Deep Residual Learning for Image Recognition
- Adam: A Method for Stochastic Optimization
- Rectified Linear Units Improve Restricted Boltzmann Machines
- Attention Is All You Need
- BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
- GAN(Generative Adversarial Nets)
- Distributed Representations of Words and Phrases and their Compositionality
- Adaptive Subgradient Methods for Online Learning and Stochastic Optimization
- A unified architecture for natural language processing
- Deep Contextualized Word Representations