{"adoption": {"forks": 347, "observed_at": "2026-08-28T04:06:41.600185+00:00", "stars": 2367}, "canonical_url": "https://ross.abutalabs.com/products/electra", "card": {"archived": true, "artifact_type": "library", "description": "ELECTRA: Pre-training Text Encoders as Discriminators Rather Than Generators", "domain": ["deep-learning", "machine-learning"], "enriched": true, "function": ["machine-learning", "deep-learning", "nlp", "llm-training"], "health_score": 10, "homepage": null, "language": "Python", "license": "Apache-2.0", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["google-research/electra"], "name": "google-research/electra", "platform": ["python"], "pushed_at": "2024-03-23T03:59:14+00:00", "repo": "google-research/electra", "stars": 2367, "tags": ["transformers", "pre-training", "language-models", "tensorflow", "research-code", "discriminative-pretraining", "natural-language-processing", "gpu", "linux"], "topics": ["nlp", "deep-learning", "tensorflow"], "urls": [], "use_cases": ["pre-train a small transformer language model on a single GPU", "fine-tune a pretrained encoder for text classification on GLUE", "build a question answering model on SQuAD", "train a sequence tagging model for text chunking", "score text with pseudo-likelihoods to re-rank speech recognition or machine translation outputs"], "what_it_is": "ELECTRA is a research library from Google for self-supervised pre-training of transformer text encoders using a discriminator-based objective that replaces masked tokens with generated fakes. It includes pre-training and fine-tuning code plus released small/base/large English models, and the Electric energy-based cloze variant.", "when_to_avoid": ["you need a maintained production NLP framework or recent model releases", "you want multilingual or generative (decoder) models", "you prefer PyTorch over TensorFlow"], "when_to_choose": ["you want strong encoder pre-training with limited compute", "you need a small efficient BERT alternative for classification, QA, or tagging", "you are reproducing or extending ELECTRA/Electric research"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/electra", "repo": "google-research/electra", "role": "main", "score": 10}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:41.600185+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:35:57.525006+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "24775a85ef3612f17beb14352849e4c33d62724868a32882d40af079489b0087", "fetched_at": "2026-08-28T04:06:41.600185+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-research/electra"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:41.600185+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:35:57.525006+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "24775a85ef3612f17beb14352849e4c33d62724868a32882d40af079489b0087", "fetched_at": "2026-08-28T04:06:41.600185+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-research/electra"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:35:57.525006+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "24775a85ef3612f17beb14352849e4c33d62724868a32882d40af079489b0087", "fetched_at": "2026-08-28T04:06:41.600185+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-research/electra"}], "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:06:41.600185+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:41.600185+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:41.600185+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:35:57.525006+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "24775a85ef3612f17beb14352849e4c33d62724868a32882d40af079489b0087", "fetched_at": "2026-08-28T04:06:41.600185+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-research/electra"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:41.600185+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:41.600185+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:35:57.525006+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "24775a85ef3612f17beb14352849e4c33d62724868a32882d40af079489b0087", "fetched_at": "2026-08-28T04:06:41.600185+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-research/electra"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:41.600185+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:41.600185+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:41.600185+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:35:57.525006+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "24775a85ef3612f17beb14352849e4c33d62724868a32882d40af079489b0087", "fetched_at": "2026-08-28T04:06:41.600185+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-research/electra"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:41.600185+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:41.600185+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:35:57.525006+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "24775a85ef3612f17beb14352849e4c33d62724868a32882d40af079489b0087", "fetched_at": "2026-08-28T04:06:41.600185+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-research/electra"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:35:57.525006+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "24775a85ef3612f17beb14352849e4c33d62724868a32882d40af079489b0087", "fetched_at": "2026-08-28T04:06:41.600185+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-research/electra"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:35:57.525006+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "24775a85ef3612f17beb14352849e4c33d62724868a32882d40af079489b0087", "fetched_at": "2026-08-28T04:06:41.600185+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-research/electra"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:35:57.525006+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "24775a85ef3612f17beb14352849e4c33d62724868a32882d40af079489b0087", "fetched_at": "2026-08-28T04:06:41.600185+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google-research/electra"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases", "archived"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2367, "days_push": 893, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 10, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}