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") - Notebooks
- Google Colab
- Kaggle
File size: 131 Bytes
628e70d | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:c599c52a1c17290150381ad30e8829a5000b27bdbecf819f70fa2a0142fc81a0
size 384767
|