Instructions to use GENG/hubert_ls_2500 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use GENG/hubert_ls_2500 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="GENG/hubert_ls_2500")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForCTC processor = AutoProcessor.from_pretrained("GENG/hubert_ls_2500") model = AutoModelForCTC.from_pretrained("GENG/hubert_ls_2500", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download vocab_ls.json from GENG/hubert_ls_2500: direct link, hf CLI and curl.
- Browser
- Download file 446 Bytes
-
https://huggingface.co/GENG/hubert_ls_2500/resolve/main/vocab_ls.json
- Command line
-
hf download hf://GENG/hubert_ls_2500/vocab_ls.json
-
curl -L -o vocab_ls.json https://huggingface.co/GENG/hubert_ls_2500/resolve/main/vocab_ls.json
446 Bytes
| {"t": 0, "\u025d": 1, "\u00e6": 2, "s": 3, "w": 4, "Y": 5, "J": 6, "d": 7, "p": 8, "o": 9, "i": 10, "\u0283": 11, "\u014b": 12, "\u00f0": 13, "\u0254": 14, "b": 15, "z": 16, "j": 17, "g": 18, "O": 19, "e": 20, "l": 21, "m": 22, "h": 23, "\u0292": 24, "C": 25, "\u028c": 26, "n": 27, "\u03b8": 28, "\u026a": 29, "\u0251": 30, "\u025b": 31, "f": 32, "\u0279": 33, "k": 34, "v": 35, "\u028a": 36, "u": 37, "W": 39, "|": 40, "[UNK]": 40, "[PAD]": 41} |