Instructions to use google-bert/bert-base-cased with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google-bert/bert-base-cased with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="google-bert/bert-base-cased")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("google-bert/bert-base-cased") model = AutoModelForMaskedLM.from_pretrained("google-bert/bert-base-cased", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Adds tokenizer_config.json file
Verified signature08decf7
-
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (d0c211f62a2c12f60e1fafd3804171a969bdc700) Co-authored-by: Nicolas Patry <Narsil@users.noreply.huggingface.co>5532cc5
-
Update README.md
a8d257b
-
allow flax
af58a38
-
correct weights
74d9687
-
add flax model
393e083 -
track msgpcak
23880ae
-
fix size
378aa1b -
change size
dc87319
-
Migrate model card from transformers-repo
Read announcement at https://discuss.huggingface.co/t/announcement-all-model-cards-will-be-migrated-to-hf-co-model-repos/2755 Original file history: https://github.com/huggingface/transformers/commits/master/model_cards/bert-base-cased-README.md7e783df
-
For clarity, delete deprecated modelcard.json
We now use the README.md model card instead Approved-by: Julien Chaumond <julien@huggingface.co>6fe1c53
-
upload flax
3a36fbe
-
Add tokenizer configuration
Thomas Wolfb89a729
-
Update tokenizer.json
ae1d3b2
-
Update config.json
6c38be4
-
Update flax_model.msgpack
373a53b
-
Update config.json
38e5f9c
-
Update modelcard.json
2edae20
-
Update tf_model.h5
e76fcde
-
Update config.json
2d2cf4f -
Update pytorch_model.bin
ddb0351
-
Update vocab.txt
61d1cf4
-
Update vocab.txt
80897b5 -
initial commit
504939a