Ross ROSS = Recommend OSS · open-source software intelligence for agents

salesforce/ctrl

Conditional Transformer Language Model for Controllable Generation observed · 2026-08-28

github.com/salesforce/ctrl · homepage · Python · BSD-3-Clause (permissive) · archived observed · 2026-08-28

Health v2 · maintenance only

10/100

  • Activity 19
  • Release rhythm 35
  • Longevity 100

Flags: no_releases archived

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 2561
  • days_rel: n/a
  • days_push: 489
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1879 stars · 199 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

CTRL is a 1.63 billion-parameter conditional Transformer language model from Salesforce that generates text controllable via control codes governing style, content, and task behavior. The repository provides TensorFlow/PyTorch inference code, fine-tuning utilities, and pretrained checkpoints, with the model also integrated into HuggingFace Transformers.

Use cases

  • generate text with controllable style and content
  • condition language model output on control codes
  • fine-tune a large language model on a custom dataset
  • convert a TensorFlow checkpoint to HuggingFace PyTorch format
  • attribute generated text to training data sources
  • run text generation on a GPU

When to choose

  • you need explicit control over generated text style or task via control codes
  • you want a research-grade conditional language model with pretrained checkpoints
  • you want to use CTRL through HuggingFace Transformers

When to avoid

  • you need a modern, actively developed LLM with state-of-the-art quality
  • you want instruction-tuned or chat-style generation
  • you lack GPU resources for a 1.63B-parameter model

Facets

library · maturity maintenance

machine-learning nlp llm-inference large-language-models deep-learning python conditional-generation transformer text-generation control-codes pretrained-model research natural-language-processing gpu

6 sources

Member repositories

RepositoryRoleHealth v2
salesforce/ctrlmain10

For agents

markdown · JSON · MCP: product_card(name="salesforce/ctrl")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem