End of training fb493c8
Sanchit Gandhi commited on
How to use sanchit-gandhi/wav2vec2-2-bart-debug with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="sanchit-gandhi/wav2vec2-2-bart-debug", device_map="auto") # Load model directly
from transformers import AutoTokenizer, AutoModelForSpeechSeq2Seq
tokenizer = AutoTokenizer.from_pretrained("sanchit-gandhi/wav2vec2-2-bart-debug")
model = AutoModelForSpeechSeq2Seq.from_pretrained("sanchit-gandhi/wav2vec2-2-bart-debug", device_map="auto")