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

google-research/electra

ELECTRA: Pre-training Text Encoders as Discriminators Rather Than Generators observed · 2026-08-28

github.com/google-research/electra · Python · Apache-2.0 (permissive) · archived observed · 2026-08-28

Health v2 · maintenance only

10/100

  • Activity 0
  • 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-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 2367
  • days_rel: n/a
  • days_push: 893
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

2367 stars · 347 forks observed · 2026-08-28

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

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.

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

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

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

Facets

library · maturity maintenance

machine-learning deep-learning nlp llm-training deep-learning machine-learning python transformers pre-training language-models tensorflow research-code discriminative-pretraining natural-language-processing gpu linux

1 source

Member repositories

RepositoryRoleHealth v2
google-research/electramain10

For agents

markdown · JSON · MCP: product_card(name="google-research/electra")

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