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