Transformers
English
Sound Classification
Interpretable Sound Classification
PIQ
Posthoc Interpretation
Posthoc Interpretation via Quantization
CNN14
Run this model with HF Jobs
Run speechbrain/PIQ-ESC50 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/speechbrain/PIQ-ESC50. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/speechbrain/PIQ-ESC50 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use speechbrain/PIQ-ESC50 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use speechbrain/PIQ-ESC50 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("speechbrain/PIQ-ESC50", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files45 unmodified lines4647484950515245 unmodified lines### Perform Interpretable Classification on your own file```pythonfrom speechbrain.pretrained import PIQAudioInterpreterimport torchaudiomodel = PIQAudioInterpreter.from_hparams(source="speechbrain/PIQ-ESC50", savedir='pretrained_models/PIQ-ESC50')45 unmodified lines4647484950515245 unmodified lines### Perform Interpretable Classification on your own file```pythonfrom speechbrain.inference.interpretability import PIQAudioInterpreterimport torchaudiomodel = PIQAudioInterpreter.from_hparams(source="speechbrain/PIQ-ESC50", savedir='pretrained_models/PIQ-ESC50')
README.md+1-1