Instructions to use SimoneChieppa/Musical-genres-Classification-Hubert-V1-finetuned-gtzan_5sec with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SimoneChieppa/Musical-genres-Classification-Hubert-V1-finetuned-gtzan_5sec with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="SimoneChieppa/Musical-genres-Classification-Hubert-V1-finetuned-gtzan_5sec")# Load model directly from transformers import AutoProcessor, AutoModelForAudioClassification processor = AutoProcessor.from_pretrained("SimoneChieppa/Musical-genres-Classification-Hubert-V1-finetuned-gtzan_5sec") model = AutoModelForAudioClassification.from_pretrained("SimoneChieppa/Musical-genres-Classification-Hubert-V1-finetuned-gtzan_5sec", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#1 opened over 2 years ago
by
SFconvertbot