Instructions to use hf-internal-testing/tiny-random-MobileBertForMaskedLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-MobileBertForMaskedLM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="hf-internal-testing/tiny-random-MobileBertForMaskedLM")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-MobileBertForMaskedLM") model = AutoModelForMaskedLM.from_pretrained("hf-internal-testing/tiny-random-MobileBertForMaskedLM") - Notebooks
- Google Colab
- Kaggle
File size: 132 Bytes
d689e73 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:7bc22998695cd7264417cd38cf3c95d0b8481dec4d908cd4911c62941e5f46cf
size 3019165
|