Instructions to use hustvl/yolos-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hustvl/yolos-small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="hustvl/yolos-small")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForObjectDetection processor = AutoImageProcessor.from_pretrained("hustvl/yolos-small") model = AutoModelForObjectDetection.from_pretrained("hustvl/yolos-small", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from hustvl/yolos-small: direct link, hf CLI and curl.
- Browser
- Download file 123 MB
-
https://huggingface.co/hustvl/yolos-small/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://hustvl/yolos-small/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/hustvl/yolos-small/resolve/main/pytorch_model.bin
123 MB
- Xet hash:
- 319ce5a2d3693a37e6ed309af06f9e5259f0db7087fde7437eb6571bb727e1ab
- Size of remote file:
- 123 MB
- SHA256:
- a5fbcdd7e5612fa92f586648762ccc4ac29cd121fa23eadd7f6289918f8a8bb0
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.