Instructions to use danilotpnta/HuBERT-Genre-Clf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use danilotpnta/HuBERT-Genre-Clf with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="danilotpnta/HuBERT-Genre-Clf")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForAudioClassification processor = AutoProcessor.from_pretrained("danilotpnta/HuBERT-Genre-Clf") model = AutoModelForAudioClassification.from_pretrained("danilotpnta/HuBERT-Genre-Clf", device_map="auto") - Diffusers
How to use danilotpnta/HuBERT-Genre-Clf with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("danilotpnta/HuBERT-Genre-Clf", dtype=torch.bfloat16, device_map="cuda") prompt = "DistilHuBERT, Audio Encoder, Transfer Learning" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Commit History
-
update
Verified signature220e1e7 -
update
Verified signaturefade1fe -
update
Verified signature31cda27 -
update
Verified signature482a80a
-
Remove unused checkpoint files and configuration
Danilo Toapantac57fca6 -
fix img
Danilo Toapanta9b6d513 -
Add .gitignore file to exclude .DS_Store
Danilo Toapanta921f83e -
Update model description image to use .jpg format
Danilo Toapantafbc0053 -
Update README.md with model details, usage code, and download instructions
Danilo Toapanta3756451 -
Update README.md with model details and usage code
Danilo Toapanta11ef092 -
add: model checkpoint and configuration files
Danilo Toapanta0865df6 -
rm unused widget from README.md
Danilo Toapanta34dd303 -
chore: Add image for model description
Danilo Toapantaefdf75b -
initial commit
Verified signaturef6d9c78