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
-
Adding ONNX file of this model
Beep boop I am the [ONNX export bot 🤖🏎️](https://huggingface.co/spaces/optimum/exporters). On behalf of [asifanchor](https://huggingface.co/asifanchor), I would like to add to this repository the model converted to ONNX. What is ONNX? It stands for "Open Neural Network Exchange", and is the most commonly used open standard for machine learning interoperability. You can find out more at [onnx.ai](https://onnx.ai/)! The exported ONNX model can be then be consumed by various backends as TensorRT or TVM, or simply be used in a few lines with 🤗 Optimum through ONNX Runtime, check out how [here](https://huggingface.co/docs/optimum/main/en/onnxruntime/usage_guides/models)!0c8f1e2
-
Adding `safetensors` variant of this model (#15)
- Adding `safetensors` variant of this model (18c87780b5e54825a2454d5855a354ad46c5b87e) Co-authored-by: Nicolas Patry <Narsil@users.noreply.huggingface.co>0a6aa91
-
Update README.md (#11)
- Update README.md (b84905490c2d4796d85a42590c88a95af94cd5e2) Co-authored-by: Jesse <PrisinMike@users.noreply.huggingface.co>5546055
-
Update README.md (#10)
- Update README.md (571f8d59e36ab9e22df0053afb9e5c1da201f457) Co-authored-by: mixx <mixx@users.noreply.huggingface.co>0e9f43f
-
Added model variations section (#9)
- Added model variations section (9621ebeac55faf1425cc8b86ee330649f7680538) Co-authored-by: Marco Buiani <buio@users.noreply.huggingface.co>bdb420b
-
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