Instructions to use buystufflive/safety-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use buystufflive/safety-classifier with timm:
import timm model = timm.create_model("hf-hub:buystufflive/safety-classifier", pretrained=True) - Notebooks
- Google Colab
- Kaggle
File size: 288 Bytes
ab6754d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | {
"architecture": "timm-spatial-flat-multitask",
"model": "timm/mobilenetv4_conv_medium.e250_r384_in12k",
"name": "Live Safety Classifier",
"outputs": [
"screen",
"safety"
],
"resize_longest_side_px": 1024,
"safety_labels": [
"hot",
"nsfw",
"safe"
]
}
|