Instructions to use ggaaaga/wav2vec2-base-swedish-onnx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ggaaaga/wav2vec2-base-swedish-onnx with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="ggaaaga/wav2vec2-base-swedish-onnx")# Load model directly from transformers import AutoProcessor, AutoModelForCTC processor = AutoProcessor.from_pretrained("ggaaaga/wav2vec2-base-swedish-onnx") model = AutoModelForCTC.from_pretrained("ggaaaga/wav2vec2-base-swedish-onnx") - Notebooks
- Google Colab
- Kaggle
| { | |
| "version": "1.0", | |
| "truncation": null, | |
| "padding": null, | |
| "added_tokens": [], | |
| "normalizer": null, | |
| "pre_tokenizer": null, | |
| "post_processor": null, | |
| "decoder": null, | |
| "model": { | |
| "type": "WordLevel", | |
| "vocab": { | |
| "<pad>": 0, | |
| "<s>": 1, | |
| "</s>": 2, | |
| "<unk>": 3, | |
| "|": 4, | |
| "T": 5, | |
| "E": 6, | |
| "A": 7, | |
| "N": 8, | |
| "R": 9, | |
| "S": 10, | |
| "I": 11, | |
| "L": 12, | |
| "D": 13, | |
| "O": 14, | |
| "M": 15, | |
| "K": 16, | |
| "G": 17, | |
| "U": 18, | |
| "V": 19, | |
| "F": 20, | |
| "H": 21, | |
| "Ä": 22, | |
| "Å": 23, | |
| "P": 24, | |
| "Ö": 25, | |
| "B": 26, | |
| "J": 27, | |
| "C": 28, | |
| "Y": 29, | |
| "X": 30, | |
| "W": 31, | |
| "Z": 32, | |
| "É": 33, | |
| "Q": 34, | |
| "8": 35, | |
| "2": 36, | |
| "5": 37, | |
| "9": 38, | |
| "1": 39, | |
| "6": 40, | |
| "7": 41, | |
| "3": 42, | |
| "4": 43, | |
| "0": 44, | |
| "'": 45 | |
| }, | |
| "unk_token": "[UNK]" | |
| } | |
| } |