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