{"adoption": {"forks": 203, "observed_at": "2026-08-28T04:03:47.279931+00:00", "stars": 1153}, "canonical_url": "https://ross.abutalabs.com/products/pplm", "card": {"archived": false, "artifact_type": "library", "description": "Plug and Play Language Model implementation. Allows to steer topic and attributes of GPT-2 models.", "domain": ["machine-learning", "deep-learning", "large-language-models"], "enriched": true, "function": ["nlp", "machine-learning", "llm-inference"], "health_score": 20, "homepage": null, "language": "Python", "license": "Apache-2.0", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["uber-research/PPLM"], "name": "uber-research/PPLM", "platform": ["python"], "pushed_at": "2024-02-20T16:47:37+00:00", "repo": "uber-research/PPLM", "stars": 1153, "tags": ["controlled-text-generation", "gpt-2", "attribute-steering", "research-code", "language-models", "natural-language-processing"], "topics": ["language-modeling", "natural-language-generation", "machine-learning", "deep-learning", "natural-language-processing", "nlp"], "urls": [], "use_cases": ["steer GPT-2 text generation toward a specific topic", "control attributes of generated text without fine-tuning the language model", "run bag-of-words topic-controlled generation with run_pplm.py", "use PPLM as a baseline for controlled text generation research", "experiment with discriminator-based attribute steering of language models", "try controlled text generation in a Colab notebook without setup"], "what_it_is": "PPLM (Plug and Play Language Model) is a research implementation for controlled text generation that steers the topic and attributes of GPT-2 outputs using small attribute models, without training or fine-tuning the base language model. It was published by Uber AI at ICLR 2020 and is also integrated into Hugging Face Transformers.", "when_to_avoid": ["you need controlled generation with modern LLMs beyond GPT-2", "you want a production-ready, actively maintained text generation library", "you prefer fine-tuning or prompt-based steering approaches instead of gradient-based control"], "when_to_choose": ["you need topic- or attribute-controlled generation from GPT-2 without retraining", "you are reproducing the PPLM paper or using it as a research baseline", "you want to plug in small attribute models into a frozen language model"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/pplm", "repo": "uber-research/PPLM", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:47.279931+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:33:30.119298+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e9ca22406313da0382b1c61a421b12a4afdb80d1eedbef4284ac390cb896ddd", "fetched_at": "2026-08-28T04:03:47.279931+00:00", "kind": "readme", "missing": false, "url": "https://github.com/uber-research/PPLM"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:47.279931+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:33:30.119298+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e9ca22406313da0382b1c61a421b12a4afdb80d1eedbef4284ac390cb896ddd", "fetched_at": "2026-08-28T04:03:47.279931+00:00", "kind": "readme", "missing": false, "url": "https://github.com/uber-research/PPLM"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:33:30.119298+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e9ca22406313da0382b1c61a421b12a4afdb80d1eedbef4284ac390cb896ddd", "fetched_at": "2026-08-28T04:03:47.279931+00:00", "kind": "readme", "missing": false, "url": "https://github.com/uber-research/PPLM"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:03:47.279931+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:47.279931+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:47.279931+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:33:30.119298+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e9ca22406313da0382b1c61a421b12a4afdb80d1eedbef4284ac390cb896ddd", "fetched_at": "2026-08-28T04:03:47.279931+00:00", "kind": "readme", "missing": false, "url": "https://github.com/uber-research/PPLM"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:47.279931+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:47.279931+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:33:30.119298+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e9ca22406313da0382b1c61a421b12a4afdb80d1eedbef4284ac390cb896ddd", "fetched_at": "2026-08-28T04:03:47.279931+00:00", "kind": "readme", "missing": false, "url": "https://github.com/uber-research/PPLM"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:47.279931+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:47.279931+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:47.279931+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:33:30.119298+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e9ca22406313da0382b1c61a421b12a4afdb80d1eedbef4284ac390cb896ddd", "fetched_at": "2026-08-28T04:03:47.279931+00:00", "kind": "readme", "missing": false, "url": "https://github.com/uber-research/PPLM"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:47.279931+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:47.279931+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:33:30.119298+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e9ca22406313da0382b1c61a421b12a4afdb80d1eedbef4284ac390cb896ddd", "fetched_at": "2026-08-28T04:03:47.279931+00:00", "kind": "readme", "missing": false, "url": "https://github.com/uber-research/PPLM"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:33:30.119298+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e9ca22406313da0382b1c61a421b12a4afdb80d1eedbef4284ac390cb896ddd", "fetched_at": "2026-08-28T04:03:47.279931+00:00", "kind": "readme", "missing": false, "url": "https://github.com/uber-research/PPLM"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:33:30.119298+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e9ca22406313da0382b1c61a421b12a4afdb80d1eedbef4284ac390cb896ddd", "fetched_at": "2026-08-28T04:03:47.279931+00:00", "kind": "readme", "missing": false, "url": "https://github.com/uber-research/PPLM"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:33:30.119298+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3e9ca22406313da0382b1c61a421b12a4afdb80d1eedbef4284ac390cb896ddd", "fetched_at": "2026-08-28T04:03:47.279931+00:00", "kind": "readme", "missing": false, "url": "https://github.com/uber-research/PPLM"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2493, "days_push": 925, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}