Instructions to use google-bert/bert-base-uncased with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google-bert/bert-base-uncased with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="google-bert/bert-base-uncased")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("google-bert/bert-base-uncased") model = AutoModelForMaskedLM.from_pretrained("google-bert/bert-base-uncased", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Added model variations section
Following https://huggingface.co/bert-base-uncased/discussions/6 I added a "model variations" section to the model card, it has a brief history of variations with a link to the BERT github readme for detailed info. A table reports the relevant models on the HF hub. Copy of closed PR https://huggingface.co/bert-base-uncased/discussions/8 but without the added ToC as suggested by @julien-c9621ebe
-
Upload LICENSE (#2)
- Upload LICENSE (8ea340b34481fd0a03879abcb2dc5b4faa8ff176) Co-authored-by: Shima Asaadi <sasaadi@users.noreply.huggingface.co>418430c
-
allow flax
b96743c
-
correct weights
345fd30
-
add flax model
7a93715 -
track msgpack
b3409d9
-
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-uncased-README.md2f86775
-
For clarity, delete deprecated modelcard.json
We now use the README.md model card instead Approved-by: Julien Chaumond <julien@huggingface.co>5f0832a
-
Add tokenizer configurations
Thomas Wolf1a7dd49
-
Update tokenizer.json
8197097
-
Update rust_model.ot
fd6476e -
Update config.json
5b16e96
-
Update config.json
941c1ed
-
Update modelcard.json
8269c79
-
Update tf_model.h5
dd4bc8b
-
Update config.json
bb3c1c3 -
Update pytorch_model.bin
3d2477d
-
Update vocab.txt
1a30f97
-
Update vocab.txt
2f07d81 -
initial commit
504939a