Instructions to use Sjdan/switch_vl_2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Sjdan/switch_vl_2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="Sjdan/switch_vl_2")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForCTC processor = AutoProcessor.from_pretrained("Sjdan/switch_vl_2") model = AutoModelForCTC.from_pretrained("Sjdan/switch_vl_2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
b919443 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:d37e0f72a6ccf99a5756ed452c77e7a7902714c92bb3737785432ddaedd27319
size 1262000237
|