Instructions to use jaranohaal/vit-base-violence-detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jaranohaal/vit-base-violence-detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="jaranohaal/vit-base-violence-detection") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoModelForImageClassification model = AutoModelForImageClassification.from_pretrained("jaranohaal/vit-base-violence-detection", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
- Xet hash:
- d8134fccc7c431316e280ead64cb7f94c0343da2b63902a5e799e5a719e1c590
- Size of remote file:
- 343 MB
- SHA256:
- 9eec3237288742eb4267cb2cbbbdacba5bee889be4673215bfe40e1dbd5621a5
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.