Instructions to use siddharth-magesh/ast-genre-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use siddharth-magesh/ast-genre-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="siddharth-magesh/ast-genre-classifier")# Load model directly from transformers import AutoFeatureExtractor, AutoModelForAudioClassification extractor = AutoFeatureExtractor.from_pretrained("siddharth-magesh/ast-genre-classifier") model = AutoModelForAudioClassification.from_pretrained("siddharth-magesh/ast-genre-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K