Instructions to use aware-ai/wav2vec2-xls-r-300m-german-english with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use aware-ai/wav2vec2-xls-r-300m-german-english with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="aware-ai/wav2vec2-xls-r-300m-german-english")# Load model directly from transformers import AutoProcessor, AutoModelForCTC processor = AutoProcessor.from_pretrained("aware-ai/wav2vec2-xls-r-300m-german-english") model = AutoModelForCTC.from_pretrained("aware-ai/wav2vec2-xls-r-300m-german-english") - Notebooks
- Google Colab
- Kaggle
| { | |
| "!": 1, | |
| ",": 2, | |
| ".": 3, | |
| "?": 4, | |
| "A": 5, | |
| "B": 6, | |
| "C": 7, | |
| "D": 8, | |
| "E": 9, | |
| "F": 10, | |
| "G": 11, | |
| "H": 12, | |
| "I": 13, | |
| "J": 14, | |
| "K": 15, | |
| "L": 16, | |
| "M": 17, | |
| "N": 18, | |
| "O": 19, | |
| "P": 20, | |
| "Q": 21, | |
| "R": 22, | |
| "S": 23, | |
| "T": 24, | |
| "U": 25, | |
| "V": 26, | |
| "W": 27, | |
| "X": 28, | |
| "Y": 29, | |
| "Z": 30, | |
| "[PAD]": 64, | |
| "[UNK]": 63, | |
| "a": 31, | |
| "b": 32, | |
| "c": 33, | |
| "d": 34, | |
| "e": 35, | |
| "f": 36, | |
| "g": 37, | |
| "h": 38, | |
| "i": 39, | |
| "j": 40, | |
| "k": 41, | |
| "l": 42, | |
| "m": 43, | |
| "n": 44, | |
| "o": 45, | |
| "p": 46, | |
| "q": 47, | |
| "r": 48, | |
| "s": 49, | |
| "t": 50, | |
| "u": 51, | |
| "v": 52, | |
| "w": 53, | |
| "x": 54, | |
| "y": 55, | |
| "z": 56, | |
| "|": 0, | |
| "Ä": 57, | |
| "Ö": 58, | |
| "Ü": 59, | |
| "ä": 60, | |
| "ö": 61, | |
| "ü": 62 | |
| } | |