Instructions to use google/mobilebert-uncased with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/mobilebert-uncased with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForPreTraining tokenizer = AutoTokenizer.from_pretrained("google/mobilebert-uncased") model = AutoModelForPreTraining.from_pretrained("google/mobilebert-uncased", device_map="auto") - 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 [zumoko](https://huggingface.co/zumoko), 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)!b5e8b32
-
Zipfile
1f90a6c -
Fix model embeddings
acdd161
-
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/google/mobilebert-uncased/README.md3275639
-
Addition of Rust model
41d3d3e
-
Update tokenizer.json
f340f7c
-
Update tf_model.h5
9c18c20
-
Update pytorch_model.bin
09b38b3 -
Update config.json
779bc22 -
Update vocab.txt
a673640 -
initial commit
994554d