Instructions to use Purusharth/distilhubert-GTZAN with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Purusharth/distilhubert-GTZAN with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="Purusharth/distilhubert-GTZAN")# Load model directly from transformers import AutoProcessor, AutoModelForAudioClassification processor = AutoProcessor.from_pretrained("Purusharth/distilhubert-GTZAN") model = AutoModelForAudioClassification.from_pretrained("Purusharth/distilhubert-GTZAN") - Notebooks
- Google Colab
- Kaggle