KTH/waxholm
Updated • 25.3k
How to use jimregan/wav2vec2-swedish-phonetic-waxholm with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="jimregan/wav2vec2-swedish-phonetic-waxholm") # Load model directly
from transformers import AutoProcessor, AutoModelForCTC
processor = AutoProcessor.from_pretrained("jimregan/wav2vec2-swedish-phonetic-waxholm")
model = AutoModelForCTC.from_pretrained("jimregan/wav2vec2-swedish-phonetic-waxholm", device_map="auto")Base model
KBLab/wav2vec2-large-voxrex