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