ELECTRA
by Google DeepMind · Mar 23, 2020
ELECTRA is an open-weight chat llm from Google DeepMind, released Mar 23, 2020. It has 335M parameters.
- Provider
- Google DeepMind
- Released
- Mar 23, 2020
- Type
- Chat LLM
- Parameters
- 335M
- Context window
- —
- Max output
- —
- Input
- text
- Output
- text
- Weights
- Open weights
- License
- Open (permissive)
- Knowledge cutoff
- —
- Status
- Historical
- Training compute
- 3.1e+21 FLOP
- Training data
- 33B tokens/words
About ELECTRA
Masked language modeling (MLM) pre-training methods such as BERT corrupt the input by replacing some tokens with [MASK] and then train a model to reconstruct the original tokens. While they produce good results when transferred to downstream NLP tasks, they generally require large amounts of compute to be effective. As an alternative, we propose a more sample-efficient pre-training task called replaced token detection. Instead of masking the input, our approach corrupts it by replacing some tokens with plausible alternatives sampled from a small generator network.
How to run ELECTRA
ELECTRA is an open-weight model. Run it locally with Ollama, LM Studio or llama.cpp (quantized GGUF builds), or serve it on GPUs with vLLM, SGLang or Hugging Face TGI. At 335M parameters it needs roughly 1 GB of memory at 4-bit quantization.
ELECTRA vs alternatives
- ELECTRA vs DensePhrases
- ELECTRA vs GBERT-Large
- ELECTRA vs German ELECTRA Large
- ELECTRA vs Hopfield Networks (2020)
- ELECTRA vs ERNIE-GEN (large)
- ELECTRA vs AraBERT LArge v2
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| DensePhrasesopen | Korea University | Dec 2020 | — | — | — | — | — |
| GBERT-Largeopen | deepset | Oct 2020 | 335M | — | — | — | — |
| German ELECTRA Largeopen | deepset | Oct 2020 | 335M | — | — | — | — |
| Hopfield Networks (2020)open | Johannes Kepler University Linz | Jul 2020 | — | — | — | — | — |
| ERNIE-GEN (large)open | Baidu | Aug 2020 | 340M | — | — | — | — |
| AraBERT LArge v2open | American University of Beirut | Mar 2020 | 371M | — | — | — | — |
| Segatron XL large, M=384open | University of Waterloo | Apr 2020 | 257M | — | — | — | — |
| Segatron XL base, M=384open | University of Waterloo | Apr 2020 | 257M | — | — | — | — |
More models from Google DeepMind
All Google DeepMind models →| Model | Released | Params | Context | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| Gemma 4 31B ITopen | Apr 2026 | 31B | 256K | Free | Free |
| Gemma 4 26B A4B ITopen | Apr 2026 | 26B (4B act.) | 256K | Free | Free |
| Gemini 4 Argon | Oct 2026 | — | 1M | $2 | $10 |
| Gemini 4 Carbon | Nov 2026 | — | 1M | $2 | $10 |
| Gemini 3.8 Flash | Sep 2026 | — | 1M | $0.75 | $3.75 |
| Gemini 4 Hydrogen | Nov 2026 | — | 1M | $1.50 | $7.50 |
| Gemini Pro Latest | Feb 2026 | — | 1M | $2 | $12 |
| Gemini 3.7 Flash | Aug 2026 | — | 1M | $0.75 | $3.75 |
Frequently asked questions
Who made ELECTRA?
ELECTRA was developed by Google DeepMind (United States of America,United States of America,United States of America). It was released on Mar 23, 2020.
Is ELECTRA open source?
Yes. ELECTRA's weights are publicly available, so you can download and run it yourself.
How many parameters does ELECTRA have?
ELECTRA has 335M parameters.
Sources: epoch · paper. Last updated 2026-11-22.