inference/research
verifiedhigh · 0.90updated 2026-10-03

BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding

paper

Fields

id
sources/flop2-bert
Publisher
arXiv (Devlin, Chang, Lee, Toutrainova; Google AI)
Kind
paper
Published
2018-10-11
Accessed
2026-10-03
notes
The bidirectional-encoder architecture behind every embedding and cross-encoder reranking workload in this repo. Two properties matter for flop accounting and neither appears in generative-LLM records: attention is FULL (non-causal), so attention flops are 2x the causal figure at the same length, and there is no KV cache, so the model is run as one forward pass over the whole sequence with every weight read once for L rows. Base config (768 hidden, 12 layers, 12 heads x 64 head_dim, 3072 intermediate) derives to 113.2M parameters against a released 110M.

Notes

The bidirectional-encoder architecture behind every embedding and cross-encoder reranking workload in this repo. Two properties matter for flop accounting and neither appears in generative-LLM records: attention is FULL (non-causal), so attention flops are 2x the causal figure at the same length, and there is no KV cache, so the model is run as one forward pass over the whole sequence with every weight read once for L rows. Base config (768 hidden, 12 layers, 12 heads x 64 head_dim, 3072 intermediate) derives to 113.2M parameters against a released 110M.

Cross-references

This record references no other records.