Instructions to use Sjdan/switch_cls_2_2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Sjdan/switch_cls_2_2 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, Wav2Vec2ForSpeechClassification processor = AutoProcessor.from_pretrained("Sjdan/switch_cls_2_2") model = Wav2Vec2ForSpeechClassification.from_pretrained("Sjdan/switch_cls_2_2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
423505a | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:a34fa04aeaf4b8756481009e9caef16b768517368a8b975b1c8b54cc5d2c843f
size 3579
|