Instructions to use InspiratioNULL/image-safety-classifier-s-CoreML with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use InspiratioNULL/image-safety-classifier-s-CoreML with timm:
import timm model = timm.create_model("hf-hub:InspiratioNULL/image-safety-classifier-s-CoreML", pretrained=True) - Transformers
How to use InspiratioNULL/image-safety-classifier-s-CoreML with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="InspiratioNULL/image-safety-classifier-s-CoreML") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("InspiratioNULL/image-safety-classifier-s-CoreML", device_map="auto") - Notebooks
- Google Colab
- Kaggle
image-safety-classifier-s-CoreML / ImageSafetyClassifier.mlpackage /Data /com.apple.CoreML /model.mlmodel
Download ImageSafetyClassifier.mlpackage/Data/com.apple.CoreML/model.mlmodel from InspiratioNULL/image-safety-classifier-s-CoreML: direct link, hf CLI and curl.
- Browser
- Download file 152 kB
-
https://huggingface.co/InspiratioNULL/image-safety-classifier-s-CoreML/resolve/main/ImageSafetyClassifier.mlpackage/Data/com.apple.CoreML/model.mlmodel
- Command line
-
hf download hf://InspiratioNULL/image-safety-classifier-s-CoreML/ImageSafetyClassifier.mlpackage/Data/com.apple.CoreML/model.mlmodel
-
curl -L -o model.mlmodel https://huggingface.co/InspiratioNULL/image-safety-classifier-s-CoreML/resolve/main/ImageSafetyClassifier.mlpackage/Data/com.apple.CoreML/model.mlmodel
152 kB
- Xet hash:
- 13adc5cc2841285805887490fcf15a80f90a6b399f7ddf2cc47defa970d10735
- Size of remote file:
- 152 kB
- SHA256:
- aec31b0aba3c6ec8a9415f53bcf5ee1149471abb10839f184b0169bfe8beb841
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.