Upload AutomaticSpeechRecognitionPipeline cbf116a verified
ASG Models commited on
How to use wasmdashai/wav2vec2-arabic-v1 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("automatic-speech-recognition", model="wasmdashai/wav2vec2-arabic-v1") # Load model directly
from transformers import AutoProcessor, AutoModelForCTC
processor = AutoProcessor.from_pretrained("wasmdashai/wav2vec2-arabic-v1")
model = AutoModelForCTC.from_pretrained("wasmdashai/wav2vec2-arabic-v1")