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: 161 Bytes
ab6754d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | {
"safety": {
"label_to_id": {
"hot": 0,
"nsfw": 1,
"safe": 2
},
"labels": [
"hot",
"nsfw",
"safe"
]
}
}
|