Instructions to use egujr001/swim2-base-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use egujr001/swim2-base-model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="egujr001/swim2-base-model") 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("egujr001/swim2-base-model") model = AutoModelForImageClassification.from_pretrained("egujr001/swim2-base-model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from egujr001/swim2-base-model: direct link, hf CLI and curl.
- Browser
- Download file 110 MB
-
https://huggingface.co/egujr001/swim2-base-model/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://egujr001/swim2-base-model/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/egujr001/swim2-base-model/resolve/main/pytorch_model.bin
110 MB
- Xet hash:
- 7ff34db2e2fe9bacb696048d44feddcedb47da75f15161078f90f7c02cb897e7
- Size of remote file:
- 110 MB
- SHA256:
- 3a2e1908d2818ed1bee2bbb1be57ed0b5c3e9fc6d83199d880ccbdedaa94c7ff
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.