Instructions to use hf-internal-testing/tiny-random-FNetForPreTraining with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-FNetForPreTraining with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForPreTraining tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-FNetForPreTraining") model = AutoModelForPreTraining.from_pretrained("hf-internal-testing/tiny-random-FNetForPreTraining", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from hf-internal-testing/tiny-random-FNetForPreTraining: direct link, hf CLI and curl.
- Browser
- Download file 1.6 MB
-
https://huggingface.co/hf-internal-testing/tiny-random-FNetForPreTraining/resolve/c05f55ccfb2f2533babd3c6e99de7749bc8081da/tokenizer.json
- Command line
-
hf download hf://hf-internal-testing/tiny-random-FNetForPreTraining@c05f55ccfb2f2533babd3c6e99de7749bc8081da/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/hf-internal-testing/tiny-random-FNetForPreTraining/resolve/c05f55ccfb2f2533babd3c6e99de7749bc8081da/tokenizer.json
1.6 MB
File too large to display, you can check the raw version instead.