AI SeedbankHelp preserve open and free AI for humanity's future

← All models

google_bert_uncased_L-2_H-128_A-2

google · View on Hugging Face ↗

Get this model

Download TorrentMagnet Link

Seeders: · Leechers:

Model card

The complete upstream card, rendered from this payload's README.md — the same hash-verified bytes the torrent distributes. Images and off-site links are removed; the original card on Hugging Face carries them.


thumbnail: https://huggingface.co/front/thumbnails/google.png

license: apache-2.0

BERT Miniatures

This is the set of 24 BERT models referenced in Well-Read Students Learn Better: On the Importance of Pre-training Compact Models (English only, uncased, trained with WordPiece masking).

We have shown that the standard BERT recipe (including model architecture and training objective) is effective on a wide range of model sizes, beyond BERT-Base and BERT-Large. The smaller BERT models are intended for environments with restricted computational resources. They can be fine-tuned in the same manner as the original BERT models. However, they are most effective in the context of knowledge distillation, where the fine-tuning labels are produced by a larger and more accurate teacher.

Our goal is to enable research in institutions with fewer computational resources and encourage the community to seek directions of innovation alternative to increasing model capacity.

You can download the 24 BERT miniatures either from the official BERT Github page, or via HuggingFace from the links below:

H=128 H=256 H=512 H=768
L=2 2/128 (BERT-Tiny) 2/256 2/512 2/768
L=4 4/128 4/256 (BERT-Mini) 4/512 (BERT-Small) 4/768
L=6 6/128 6/256 6/512 6/768
L=8 8/128 8/256 8/512 (BERT-Medium) 8/768
L=10 10/128 10/256 10/512 10/768
L=12 12/128 12/256 12/512 12/768 (BERT-Base)

Note that the BERT-Base model in this release is included for completeness only; it was re-trained under the same regime as the original model.

Here are the corresponding GLUE scores on the test set:

Model Score CoLA SST-2 MRPC STS-B QQP MNLI-m MNLI-mm QNLI(v2) RTE WNLI AX
BERT-Tiny 64.2 0.0 83.2 81.1/71.1 74.3/73.6 62.2/83.4 70.2 70.3 81.5 57.2 62.3 21.0
BERT-Mini 65.8 0.0 85.9 81.1/71.8 75.4/73.3 66.4/86.2 74.8 74.3 84.1 57.9 62.3 26.1
BERT-Small 71.2 27.8 89.7 83.4/76.2 78.8/77.0 68.1/87.0 77.6 77.0 86.4 61.8 62.3 28.6
BERT-Medium 73.5 38.0 89.6 86.6/81.6 80.4/78.4 69.6/87.9 80.0 79.1 87.7 62.2 62.3 30.5

For each task, we selected the best fine-tuning hyperparameters from the lists below, and trained for 4 epochs:

  • batch sizes: 8, 16, 32, 64, 128
  • learning rates: 3e-4, 1e-4, 5e-5, 3e-5

If you use these models, please cite the following paper:

@article{turc2019,
  title={Well-Read Students Learn Better: On the Importance of Pre-training Compact Models},
  author={Turc, Iulia and Chang, Ming-Wei and Lee, Kenton and Toutanova, Kristina},
  journal={arXiv preprint arXiv:1908.08962v2 },
  year={2019}
}

Magnet link

Opens the swarm directly in your torrent client — no file download needed. Copy-paste works too:

magnet:?xt=urn:btih:c4327ffa3b1076f0a0a5b77e39db5f2f2cec5153&dn=google_bert_uncased_L-2_H-128_A-2

Open magnet in torrent client · infohash c4327ffa3b1076f0a0a5b77e39db5f2f2cec5153

Files & hashes

PathSizesha1sha256
README.md4.5 KB (4,617 B)8814ffdd5b8f0223e5acee571d2869be210bfa2ad13a54d652a2a54fbbc50e063b465fb273295870867821e1b06baba1d49d68a9
config.json382 B (382 B)333ec19609b98a6cd11b79a5770a163a2f0464c8508e1f01aae55d73355cbdd82609be2f43ba5a0d3428837adbe56cf8391f8b39
model.safetensors16.9 MB (17,739,144 B)b63c9623695fb9b6d12589c891f104c389c0a7617fb69ad9f6866d8983183c930e33828f326470bf6ad8bbb2ad4ed957a92e9414
pytorch_model.bin16.9 MB (17,743,809 B)bacd01e6c00cf03b28c64c56c9724cd9640e5156dd152f8450c0579bd271ac0ccb4a88fa4f6a67d8035b7799dbf3a0fb7156d9d0
vocab.txt226.1 KB (231,508 B)fb140275c155a9c7c5a3b3e0e77a9e839594a93807eced375cec144d27c900241f3e339478dec958f92fddbc551f295c992038a3

Cite this release

Canonical URL
https://aiseedbank.org/models/google_bert_uncased_L-2_H-128_A-2/
Slug
google_bert_uncased_L-2_H-128_A-2
Infohash
c4327ffa3b1076f0a0a5b77e39db5f2f2cec5153
License
apache-2.0
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: google_bert_uncased_L-2_H-128_A-2.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositorygoogle/bert_uncased_L-2_H-128_A-2
Revision (pinned)30b0a37ccaaa32f332884b96992754e246e48c5f
Fetched at2026-09-03T23:10:02Z
License at fetchapache-2.0
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-03T23:10:04Z

apache-2.034.1 MB (35,719,460 bytes)transformerspytorchjaxsafetensorsbertendpoints_compatiblepaper: 1908.08962