Instructions to use OwenElliott/image-safety-classifier-s with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use OwenElliott/image-safety-classifier-s with timm:
import timm model = timm.create_model("hf_hub:OwenElliott/image-safety-classifier-s", pretrained=True) - Transformers
How to use OwenElliott/image-safety-classifier-s with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="OwenElliott/image-safety-classifier-s") 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-s", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload onnx/image-safety-classifier-s.onnx with huggingface_hub
Browse files
onnx/image-safety-classifier-s.onnx
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fef443ed68ae25ed693b6fef9e456071692ed3963cff4168acb39c3de6f017e7
|
| 3 |
+
size 23701765
|