Instructions to use derek-thomas/hubert-base-ls960-finetuned-gtzan-efficient with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use derek-thomas/hubert-base-ls960-finetuned-gtzan-efficient with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="derek-thomas/hubert-base-ls960-finetuned-gtzan-efficient")# Load model directly from transformers import AutoProcessor, AutoModelForAudioClassification processor = AutoProcessor.from_pretrained("derek-thomas/hubert-base-ls960-finetuned-gtzan-efficient") model = AutoModelForAudioClassification.from_pretrained("derek-thomas/hubert-base-ls960-finetuned-gtzan-efficient") - Notebooks
- Google Colab
- Kaggle
Ctrl+K