Instructions to use Cesar514/distilhubert-gtzan with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Cesar514/distilhubert-gtzan with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="Cesar514/distilhubert-gtzan")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForAudioClassification processor = AutoProcessor.from_pretrained("Cesar514/distilhubert-gtzan") model = AutoModelForAudioClassification.from_pretrained("Cesar514/distilhubert-gtzan", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
de9ebd2 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:cb6700ced8a907cb438c682dad22a2059ef6e889617452b5c19c1f577b0f501a
size 5777
|