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:
# pip install -U transformers accelerate # 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
Download tokenizer.json from hf-internal-testing/tiny-random-FNetForNextSentencePrediction: direct link, hf CLI and curl.
- Browser
- Download file 1.6 MB
-
https://huggingface.co/hf-internal-testing/tiny-random-FNetForNextSentencePrediction/resolve/c4c533fe1ebcc53ccf4815a87a69ee6d646c28bd/tokenizer.json
- Command line
-
hf download hf://hf-internal-testing/tiny-random-FNetForNextSentencePrediction@c4c533fe1ebcc53ccf4815a87a69ee6d646c28bd/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/hf-internal-testing/tiny-random-FNetForNextSentencePrediction/resolve/c4c533fe1ebcc53ccf4815a87a69ee6d646c28bd/tokenizer.json
1.6 MB
File too large to display, you can check the raw version instead.