Instructions to use Sjdan/switch_low_2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Sjdan/switch_low_2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="Sjdan/switch_low_2")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForCTC processor = AutoProcessor.from_pretrained("Sjdan/switch_low_2") model = AutoModelForCTC.from_pretrained("Sjdan/switch_low_2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download vocab.json from Sjdan/switch_low_2: direct link, hf CLI and curl.
- Browser
- Download file 265 Bytes
-
https://huggingface.co/Sjdan/switch_low_2/resolve/main/vocab.json
- Command line
-
hf download hf://Sjdan/switch_low_2/vocab.json
-
curl -L -o vocab.json https://huggingface.co/Sjdan/switch_low_2/resolve/main/vocab.json
265 Bytes
| { | |
| "[PAD]": 23, | |
| "[UNK]": 22, | |
| "a": 18, | |
| "b": 0, | |
| "c": 17, | |
| "d": 4, | |
| "e": 5, | |
| "f": 8, | |
| "g": 7, | |
| "h": 2, | |
| "i": 12, | |
| "k": 3, | |
| "l": 1, | |
| "m": 14, | |
| "n": 10, | |
| "o": 15, | |
| "p": 20, | |
| "r": 6, | |
| "s": 11, | |
| "t": 16, | |
| "u": 13, | |
| "w": 9, | |
| "y": 21, | |
| "|": 19 | |
| } | |