Instructions to use dima806/cat_dog_sounds_classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dima806/cat_dog_sounds_classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="dima806/cat_dog_sounds_classification")# Load model directly from transformers import AutoProcessor, AutoModelForAudioClassification processor = AutoProcessor.from_pretrained("dima806/cat_dog_sounds_classification") model = AutoModelForAudioClassification.from_pretrained("dima806/cat_dog_sounds_classification") - Notebooks
- Google Colab
- Kaggle
# Load model directly
from transformers import AutoProcessor, AutoModelForAudioClassification
processor = AutoProcessor.from_pretrained("dima806/cat_dog_sounds_classification")
model = AutoModelForAudioClassification.from_pretrained("dima806/cat_dog_sounds_classification")Quick Links
See https://www.kaggle.com/code/dima806/cats-dogs-sounds-classifier for details.
- Downloads last month
- 10
Model tree for dima806/cat_dog_sounds_classification
Base model
facebook/wav2vec2-base-960h
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="dima806/cat_dog_sounds_classification")