Instructions to use slplab/wav2vec2-base-kscg-gender-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use slplab/wav2vec2-base-kscg-gender-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("audio-classification", model="slplab/wav2vec2-base-kscg-gender-classification")# Load model directly from transformers import AutoProcessor, AutoModelForAudioClassification processor = AutoProcessor.from_pretrained("slplab/wav2vec2-base-kscg-gender-classification") model = AutoModelForAudioClassification.from_pretrained("slplab/wav2vec2-base-kscg-gender-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K