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:
# pip install -U transformers accelerate # 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
Download pytorch_model.bin from hf-internal-testing/tiny-random-MobileBertForNextSentencePrediction: direct link, hf CLI and curl.
- Browser
- Download file 2.87 MB
-
https://huggingface.co/hf-internal-testing/tiny-random-MobileBertForNextSentencePrediction/resolve/refs%2Fpr%2F1/pytorch_model.bin
- Command line
-
hf download hf://hf-internal-testing/tiny-random-MobileBertForNextSentencePrediction@refs/pr/1/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/hf-internal-testing/tiny-random-MobileBertForNextSentencePrediction/resolve/refs%2Fpr%2F1/pytorch_model.bin
2.87 MB
- Xet hash:
- bcd244fc1c02e3b27dbab8902f4a5e5f332137df24a810692a5c416bb14a1f5f
- Size of remote file:
- 2.87 MB
- SHA256:
- 82461366b0bddf304e766b0c8f99e4e145fd11ecd2220a3f3fb4a22a9c7e0724
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.