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 pytorch_model.bin from ydshieh/tiny-random-BertForNextSentencePrediction: direct link, hf CLI and curl.
- Browser
- Download file 384 kB
-
https://huggingface.co/ydshieh/tiny-random-BertForNextSentencePrediction/resolve/refs%2Fpr%2F2/pytorch_model.bin
- Command line
-
hf download hf://ydshieh/tiny-random-BertForNextSentencePrediction@refs/pr/2/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/ydshieh/tiny-random-BertForNextSentencePrediction/resolve/refs%2Fpr%2F2/pytorch_model.bin
384 kB
- Xet hash:
- 31dab8401c0b9945f418b9d3a155bde90662f208b0bb5245754a366f0762aa6f
- Size of remote file:
- 384 kB
- SHA256:
- 2a6c057cc9af111fde26fd795c3731f8ee9b86b9b0e5eaca777966b4558e1a8a
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.