Instructions to use distilbert/distilbert-base-multilingual-cased with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use distilbert/distilbert-base-multilingual-cased with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="distilbert/distilbert-base-multilingual-cased")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("distilbert/distilbert-base-multilingual-cased") model = AutoModelForMaskedLM.from_pretrained("distilbert/distilbert-base-multilingual-cased", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Updates incorrect tokenizer configuration file (#5)
Verified signature- Adds tokenizer_config.json file (0e9847cff9940b69e197a90af387b8404cd0f7c5)45c032a
-
Adding `safetensors` variant of this model (#3)
- Adding `safetensors` variant of this model (dd1a1f492011b5166b40838a60f9480673fc69dd) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>9e90d6d
-
Adding ONNX file of this model (#4)
- Adding ONNX file of this model (de1b5fd860d79fa214cc77e374971ceef8a1812d) Co-authored-by: Alex Mercer <D3v@users.noreply.huggingface.co>67ce44f
-
Add language tags (#2)
- Add language tags (b3e1791bcc672fbbf2bac50c402d14d7e832c272) - Update README.md (e4d74d3e62cf7c890a6ad6fbad3a7cadf1e21d99) Co-authored-by: Loïck BOURDOIS <lbourdois@users.noreply.huggingface.co>fb24027
-
Update model card (#1)
- Update model card (f252510342164b319c7a3fb889da271261df12c5) - Update README.md (52e8c5edc83669797309ee50add628ed350d8b50) Co-authored-by: Marissa Gerchick <Marissa@users.noreply.huggingface.co>6045845
-
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/distilbert-base-multilingual-cased-README.md1a01b38
-
For clarity, delete deprecated modelcard.json
We now use the README.md model card instead Approved-by: Julien Chaumond <julien@huggingface.co>785c07b
-
Add vocab
Thomas Wolf8b267b4 -
Add tokenizer configuration
Thomas Wolf04e859e
-
Update tokenizer.json
b890281
-
Update config.json
9d7b00b
-
Update config.json
c2dad00
-
Update config.json
d16d421
-
Update modelcard.json
809f228
-
Update config.json
23e5faa -
Update tf_model.h5
587f2f4 -
Update pytorch_model.bin
6e54912
-
Update config.json
b3ea881 -
initial commit
e9773df