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