Instructions to use hf-internal-testing/tiny-random-MobileBertForPreTraining with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-MobileBertForPreTraining with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForPreTraining tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-MobileBertForPreTraining") model = AutoModelForPreTraining.from_pretrained("hf-internal-testing/tiny-random-MobileBertForPreTraining", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 132 Bytes
fbaa13e | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:a619d9698abf12ed5e646ab7d6587a080f30d0f3999ed0cc2848dfb57f0d7287
size 3037549
|