Instructions to use thenewsupercell/DF_Image_VIT_V1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use thenewsupercell/DF_Image_VIT_V1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="thenewsupercell/DF_Image_VIT_V1") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("thenewsupercell/DF_Image_VIT_V1") model = AutoModelForImageClassification.from_pretrained("thenewsupercell/DF_Image_VIT_V1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download trainer_state.json from thenewsupercell/DF_Image_VIT_V1: direct link, hf CLI and curl.
- Browser
- Download file 979 kB
-
https://huggingface.co/thenewsupercell/DF_Image_VIT_V1/resolve/main/trainer_state.json
- Command line
-
hf download hf://thenewsupercell/DF_Image_VIT_V1/trainer_state.json
-
curl -L -o trainer_state.json https://huggingface.co/thenewsupercell/DF_Image_VIT_V1/resolve/main/trainer_state.json
979 kB
File too large to display, you can check the raw version instead.