Instructions to use OwenElliott/image-safety-classifier-xs with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use OwenElliott/image-safety-classifier-xs with timm:
import timm model = timm.create_model("hf_hub:OwenElliott/image-safety-classifier-xs", pretrained=True) - Transformers
How to use OwenElliott/image-safety-classifier-xs with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="OwenElliott/image-safety-classifier-xs") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("OwenElliott/image-safety-classifier-xs", device_map="auto") - Notebooks
- Google Colab
- Kaggle

- Xet hash:
- bc0a9bde011c089901ec30e0e7aec3cf705af8cc0e6ab3017877afb40e14d106
- Size of remote file:
- 265 kB
- SHA256:
- 809d20030af923f7468b8e2b0e0a09ca03031f542a253352918746d319017fa5
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.