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
Download optimizer.pt from danilotpnta/HuBERT-Genre-Clf: direct link, hf CLI and curl.
- Browser
- Download file 190 MB
-
https://huggingface.co/danilotpnta/HuBERT-Genre-Clf/resolve/main/optimizer.pt
- Command line
-
hf download hf://danilotpnta/HuBERT-Genre-Clf/optimizer.pt
-
curl -L -o optimizer.pt https://huggingface.co/danilotpnta/HuBERT-Genre-Clf/resolve/main/optimizer.pt
190 MB
- Xet hash:
- 2a399ea2bee317740e29f0b6dec2bab65e08c6cfe37de4192a85c49f9e3ab19e
- Size of remote file:
- 190 MB
- SHA256:
- 7f66f2d58e86f5782f18cfc70c735cbf50561fb515d47a6485ff405cd187052d
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.