Run this model with HF Jobs
Run google/vit-base-patch16-224-in21k on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/google/vit-base-patch16-224-in21k. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/google/vit-base-patch16-224-in21k on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use google/vit-base-patch16-224-in21k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/vit-base-patch16-224-in21k with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="google/vit-base-patch16-224-in21k")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModel processor = AutoImageProcessor.from_pretrained("google/vit-base-patch16-224-in21k") model = AutoModel.from_pretrained("google/vit-base-patch16-224-in21k", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download flax_model.msgpack from google/vit-base-patch16-224-in21k: direct link, hf CLI and curl.
- Browser
- Download file 346 MB
-
https://huggingface.co/google/vit-base-patch16-224-in21k/resolve/refs%2Fpr%2F6/flax_model.msgpack
- Command line
-
hf download hf://google/vit-base-patch16-224-in21k@refs/pr/6/flax_model.msgpack
-
curl -L -o flax_model.msgpack https://huggingface.co/google/vit-base-patch16-224-in21k/resolve/refs%2Fpr%2F6/flax_model.msgpack
346 MB
- Xet hash:
- afcefd3a4ccbbfea04ece7761d38e8c93bde1b37d98286acb7cc518399e05a13
- Size of remote file:
- 346 MB
- SHA256:
- aa00da5f7abb687576e6f9138d48cbb0fe7489f2bc9768793d262c3987b3db32
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.