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:a3bd8b5b8e51a4f1f210ca90b2e12c046033511433d820fe9ea83f4f338aee63
size 481320
|