Instructions to use hf-internal-testing/tiny-random-FNetForMaskedLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-FNetForMaskedLM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="hf-internal-testing/tiny-random-FNetForMaskedLM")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("hf-internal-testing/tiny-random-FNetForMaskedLM") model = AutoModelForMaskedLM.from_pretrained("hf-internal-testing/tiny-random-FNetForMaskedLM", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model.safetensors from hf-internal-testing/tiny-random-FNetForMaskedLM: direct link, hf CLI and curl.
- Browser
- Download file 4.37 MB
-
https://huggingface.co/hf-internal-testing/tiny-random-FNetForMaskedLM/resolve/refs%2Fpr%2F1/model.safetensors
- Command line
-
hf download hf://hf-internal-testing/tiny-random-FNetForMaskedLM@refs/pr/1/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/hf-internal-testing/tiny-random-FNetForMaskedLM/resolve/refs%2Fpr%2F1/model.safetensors
4.37 MB
- Xet hash:
- 3a7e13f2078125aa518bb080ce981eb60ba997e1529cb4fe077c05813918557f
- Size of remote file:
- 4.37 MB
- SHA256:
- 5d399a5f6ba9dc98b0f454b7126319408983232aab55f1dbab7a1f6ca87915ae
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.