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