Audio Classification
Transformers
Safetensors
English
audio-spectrogram-transformer
gunshot-detection
ast
Instructions to use ranvir-not-found/ast-sda_gunshot-detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ranvir-not-found/ast-sda_gunshot-detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="ranvir-not-found/ast-sda_gunshot-detection")# pip install -U transformers accelerate # Load model directly from transformers import AutoFeatureExtractor, AutoModelForAudioClassification extractor = AutoFeatureExtractor.from_pretrained("ranvir-not-found/ast-sda_gunshot-detection") model = AutoModelForAudioClassification.from_pretrained("ranvir-not-found/ast-sda_gunshot-detection", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Gated model You can list files but not access them
Preview of files found in this repository