How to use MohamedRashad/Arabic-Whisper-CodeSwitching-Edition with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="MohamedRashad/Arabic-Whisper-CodeSwitching-Edition")
# Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("MohamedRashad/Arabic-Whisper-CodeSwitching-Edition") model = AutoModelForSpeechSeq2Seq.from_pretrained("MohamedRashad/Arabic-Whisper-CodeSwitching-Edition")
Hello I'm using this model locally but it take a lot of time processing an no output is displayed.note that I'm using it on cpu only
· Sign up or log in to comment