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