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