Instructions to use natihash/vit_base_patch16_clip_224.laion2b_linear_probe_real with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use natihash/vit_base_patch16_clip_224.laion2b_linear_probe_real with timm:
import timm model = timm.create_model("hf_hub:natihash/vit_base_patch16_clip_224.laion2b_linear_probe_real", pretrained=True) - Transformers
How to use natihash/vit_base_patch16_clip_224.laion2b_linear_probe_real with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="natihash/vit_base_patch16_clip_224.laion2b_linear_probe_real") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("natihash/vit_base_patch16_clip_224.laion2b_linear_probe_real", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!