Instructions to use ydshieh/tiny-random-BertForNextSentencePrediction with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ydshieh/tiny-random-BertForNextSentencePrediction with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForNextSentencePrediction tokenizer = AutoTokenizer.from_pretrained("ydshieh/tiny-random-BertForNextSentencePrediction") model = AutoModelForNextSentencePrediction.from_pretrained("ydshieh/tiny-random-BertForNextSentencePrediction", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tf_model.h5 from ydshieh/tiny-random-BertForNextSentencePrediction: direct link, hf CLI and curl.
- Browser
- Download file 481 kB
-
https://huggingface.co/ydshieh/tiny-random-BertForNextSentencePrediction/resolve/main/tf_model.h5
- Command line
-
hf download hf://ydshieh/tiny-random-BertForNextSentencePrediction/tf_model.h5
-
curl -L -o tf_model.h5 https://huggingface.co/ydshieh/tiny-random-BertForNextSentencePrediction/resolve/main/tf_model.h5
481 kB
- Xet hash:
- e2257953f3e347ed2938e6bf02cc7e6df6629bcf1b7db8e9d6327129f1689226
- Size of remote file:
- 481 kB
- SHA256:
- 51df55c470250d66d782e56e18c3bc3f469ef78d959ec61e198c14a1fbeaa24f
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.