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
Download ImageSafetyClassifier.mlpackage/Data/com.apple.CoreML/weights/weight.bin from InspiratioNULL/image-safety-classifier-s-CoreML: direct link, hf CLI and curl.
- Browser
- Download file 22.6 MB
-
https://huggingface.co/InspiratioNULL/image-safety-classifier-s-CoreML/resolve/main/ImageSafetyClassifier.mlpackage/Data/com.apple.CoreML/weights/weight.bin
- Command line
-
hf download hf://InspiratioNULL/image-safety-classifier-s-CoreML/ImageSafetyClassifier.mlpackage/Data/com.apple.CoreML/weights/weight.bin
-
curl -L -o weight.bin https://huggingface.co/InspiratioNULL/image-safety-classifier-s-CoreML/resolve/main/ImageSafetyClassifier.mlpackage/Data/com.apple.CoreML/weights/weight.bin
22.6 MB
- Xet hash:
- 3ede40fee1ad78cbd9ed732cc0e690461498881db7fba393bd2e71782fcae1a0
- Size of remote file:
- 22.6 MB
- SHA256:
- 02ffa6356688da769ab1dcc909db10bac3a4c7e12db34a40697e19a5580cc95a
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.