initial commit 20c1366
Josh Cole commited on
How to use sharpcoder/wav2vec2_bjorn with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="sharpcoder/wav2vec2_bjorn") # Load model directly
from transformers import AutoProcessor, AutoModelForCTC
processor = AutoProcessor.from_pretrained("sharpcoder/wav2vec2_bjorn")
model = AutoModelForCTC.from_pretrained("sharpcoder/wav2vec2_bjorn")