Instructions to use google-bert/bert-base-multilingual-cased with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google-bert/bert-base-multilingual-cased with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="google-bert/bert-base-multilingual-cased")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("google-bert/bert-base-multilingual-cased") model = AutoModelForMaskedLM.from_pretrained("google-bert/bert-base-multilingual-cased", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding ONNX file of this model
Verified signatureBeep boop I am the [ONNX export bot 🤖🏎️](https://huggingface.co/spaces/onnx/export). On behalf of [Mesc70](https://huggingface.co/Mesc70), 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)!5705f12
-
Updates the tokenizer configuration file (#5)
Verified signature- Adds tokenizer_config.json file (c298d193a40f7d74951e9b8de1e278db2723f10b)3f076fd
-
Adding `safetensors` variant of this model (#3)
- Adding `safetensors` variant of this model (d633b9d001cbef4b5f7131a3998272a3beab6465) Co-authored-by: Nicolas Patry <Narsil@users.noreply.huggingface.co>fdfce55
-
add language tags (#1)
- add language tags (b5fb14a150ac3d93ae374c2adee9695f05b4723a) Co-authored-by: Loïck BOURDOIS <lbourdois@users.noreply.huggingface.co>cf73229
-
allow flax
aff660c -
Update .gitattributes
b4c1919 -
upload flax model
601d3f2 -
allow flax
977998b
-
add flax model
a83f232 -
track msgpack
31a4c87
-
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-multilingual-cased-README.mdda6d483
-
For clarity, delete deprecated modelcard.json
We now use the README.md model card instead Approved-by: Julien Chaumond <julien@huggingface.co>4e0bfe5
-
Add tokenizer configuration
Thomas Wolf875a30f
-
Update tokenizer.json
0fcb34d
-
Update config.json
1cc6870
-
Update config.json
72aaff3
-
Update modelcard.json
dae66e0
-
Update tf_model.h5
ebdb80f
-
Update config.json
b1bec89 -
Update pytorch_model.bin
b2f62c6
-
Update vocab.txt
7395a58 -
initial commit
be952a6