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: 135 Bytes
423505a | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:c89c72584df66226f85b62f1435f9f6b8dcdccc6b115b31c515d255c0e56d0e8
size 1266117365
|