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

← All models

google-bert_bert-base-german-cased

google-bert · 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.


language: de license: mit thumbnail: https://static.tildacdn.com/tild6438-3730-4164-b266-613634323466/german_bert.png tags:

  • exbert

German BERT

Overview

Language model: bert-base-cased
Language: German
Training data: Wiki, OpenLegalData, News (~ 12GB)
Eval data: Conll03 (NER), GermEval14 (NER), GermEval18 (Classification), GNAD (Classification)
Infrastructure: 1x TPU v2
Published: Jun 14th, 2019

Update April 3rd, 2020: we updated the vocabulary file on deepset's s3 to conform with the default tokenization of punctuation tokens. For details see the related FARM issue. If you want to use the old vocab we have also uploaded a "deepset/bert-base-german-cased-oldvocab" model.

Details

  • We trained using Google's Tensorflow code on a single cloud TPU v2 with standard settings.
  • We trained 810k steps with a batch size of 1024 for sequence length 128 and 30k steps with sequence length 512. Training took about 9 days.
  • As training data we used the latest German Wikipedia dump (6GB of raw txt files), the OpenLegalData dump (2.4 GB) and news articles (3.6 GB).
  • We cleaned the data dumps with tailored scripts and segmented sentences with spacy v2.1. To create tensorflow records we used the recommended sentencepiece library for creating the word piece vocabulary and tensorflow scripts to convert the text to data usable by BERT.

See https://deepset.ai/german-bert for more details

Hyperparameters

batch_size = 1024
n_steps = 810_000
max_seq_len = 128 (and 512 later)
learning_rate = 1e-4
lr_schedule = LinearWarmup
num_warmup_steps = 10_000

Performance

During training we monitored the loss and evaluated different model checkpoints on the following German datasets:

  • germEval18Fine: Macro f1 score for multiclass sentiment classification
  • germEval18coarse: Macro f1 score for binary sentiment classification
  • germEval14: Seq f1 score for NER (file names deuutf.*)
  • CONLL03: Seq f1 score for NER
  • 10kGNAD: Accuracy for document classification

Even without thorough hyperparameter tuning, we observed quite stable learning especially for our German model. Multiple restarts with different seeds produced quite similar results.

We further evaluated different points during the 9 days of pre-training and were astonished how fast the model converges to the maximally reachable performance. We ran all 5 downstream tasks on 7 different model checkpoints - taken at 0 up to 840k training steps (x-axis in figure below). Most checkpoints are taken from early training where we expected most performance changes. Surprisingly, even a randomly initialized BERT can be trained only on labeled downstream datasets and reach good performance (blue line, GermEval 2018 Coarse task, 795 kB trainset size).

Authors

  • Branden Chan: branden.chan [at] deepset.ai
  • Timo Möller: timo.moeller [at] deepset.ai
  • Malte Pietsch: malte.pietsch [at] deepset.ai
  • Tanay Soni: tanay.soni [at] deepset.ai

About us

We bring NLP to the industry via open source!
Our focus: Industry specific language models & large scale QA systems.

Some of our work:

  • German BERT (aka "bert-base-german-cased")
  • FARM
  • Haystack

Get in touch: Twitter | LinkedIn | Website

Magnet link

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

magnet:?xt=urn:btih:e9b2450e8bad8dddd162e4c4de218b2f5ac3c757&dn=google-bert_bert-base-german-cased

Open magnet in torrent client · infohash e9b2450e8bad8dddd162e4c4de218b2f5ac3c757

Files & hashes

PathSizesha1sha256
README.md4.1 KB (4,195 B)4030e10bdf6dc4f28f2f24d8fc3bb2d2fc4881bdf43d51cd4950d9b0e5a6efe00e6a97d8911bfe6b833814768471fdf54201e09c
config.json433 B (433 B)8da3fa907da7377e2002036cfaa65dc857ec46dba56bfcfb1096d41c2e3e748a0af8ab92877ea4750a055deaff13e7e0f563fb2c
model.safetensors418.5 MB (438,844,124 B)c58d130e9fd5ed2332e569fad9a4e292e3d2a88aa89b4ca42f0a785b35a7c9da3044fdee3225424afb76a12c3c124de51a359c97
onnx/added_tokens.json74 B (74 B)c132eae37f8211afe369960a7dbc1c38cdd40f3557ea2cff5c67304fe22eacce042ec007abd050a8723fba84da0173d33b30a111
onnx/config.json606 B (606 B)4776ece6d2459517d9d0738eb08d322d1bc896fc7d11a47960aa6f932ce1a73ce5eb8a27e7918232bf95a2c72c6964a8cef83b20
onnx/generation_config.json90 B (90 B)f48f2665c0bf0dec1b51050e26e3c6cdb89856dbc4b45896a3fafc0bcac881e146257b9795ceb16b20c3b29fa8a44a6b46cf72dd
onnx/special_tokens_map.json125 B (125 B)a8b3208c2884c4efb86e49300fdd3dc877220cdfb6d346be366a7d1d48332dbc9fdf3bf8960b5d879522b7799ddba59e76237ee3
onnx/tokenizer.json709.3 KB (726,273 B)a6e62fa4917f32e4870bbfda41f5922e69b457fe228613a5b593a53d3e3ae8bbfd9ed899fbf1dac1e18e48ac995c6a9811506f41
onnx/tokenizer_config.json1.2 KB (1,218 B)8ecd30c2b138002dc3791fe4aec8190808ba4227f2bc938610beea78ae2c7549a517452a14240d9a788c4f02ac0814a87b0db1dc
onnx/vocab.txt248.8 KB (254,729 B)b8d7e7921bf703dde89802b505d8bd9c5c133de6982f8396ec746db0ed414dcc4789398ab6b365663cada50f776afb905dacbb61
pytorch_model.bin418.5 MB (438,869,143 B)ea3974013043ee891125cf596bf8cf3986aee88656a21938415b06a68b870e4b1b3413cdd532ae6456fefef1ee5a852faf52f806
tokenizer.json473.7 KB (485,115 B)a8134680ae7924b86a22d6c6af4a2117ac393a375f709ebb5a88adf9fccc25f05d7e9b41430a4ae8103017fa64fbf9030a415b90
tokenizer_config.json49 B (49 B)2ba5de7675473164e07f3b3531748c9a6f113a2c0f6d13e6f4da6f9e24f22ada6bc3be571123d858d7c0c05a8a7cd55a9c23c2e8
vocab.txt248.8 KB (254,728 B)741ec5c9ad1819f21b6c14d8c6e86444043eb57edf14d1c2bea1a15418d2d4b35d5027ce169004b02341b9ee8dc435b9b54207a0

Cite this release

Canonical URL
https://aiseedbank.org/models/google-bert_bert-base-german-cased/
Slug
google-bert_bert-base-german-cased
Infohash
e9b2450e8bad8dddd162e4c4de218b2f5ac3c757
License
mit
Signing key fingerprint
85a3b32c3712427b

Every file carries a locally computed sha256 — verify a download against the signed sums: google-bert_bert-base-german-cased.SHA256SUMS (+ minisign signature).

Provenance

Upstream repositorygoogle-bert/bert-base-german-cased
Revision (pinned)0b061b4f7ce140d10dce6b6bd8a77da8ec80931b
Fetched at2026-09-03T23:05:07Z
License at fetchmit
Snapshot toolhuggingface · seedbank 0.1.0

Trackers

✓ verified · rehash-vs-hf-metadata at 2026-09-03T23:05:18Z

mit838.7 MB (879,440,902 bytes)transformerspytorchjaxonnxsafetensorsbertfill-maskexbertendpoints_compatible2 languages (tf, de)