Instructions to use BiliSakura/RSP-ResNet-50 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BiliSakura/RSP-ResNet-50 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="BiliSakura/RSP-ResNet-50", trust_remote_code=True) pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForImageClassification model = AutoModelForImageClassification.from_pretrained("BiliSakura/RSP-ResNet-50", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download __pycache__/modular_resnet.cpython-312.pyc from BiliSakura/RSP-ResNet-50: direct link, hf CLI and curl.
- Browser
- Download file 15.8 kB
-
https://huggingface.co/BiliSakura/RSP-ResNet-50/resolve/main/__pycache__/modular_resnet.cpython-312.pyc
- Command line
-
hf download hf://BiliSakura/RSP-ResNet-50/__pycache__/modular_resnet.cpython-312.pyc
-
curl -L -o modular_resnet.cpython-312.pyc https://huggingface.co/BiliSakura/RSP-ResNet-50/resolve/main/__pycache__/modular_resnet.cpython-312.pyc
15.8 kB
This file contains binary data. It cannot be displayed, but you can still download it.