Instructions to use Korrani/whisper-small-Fa_Korrani_Bahmanpour_Dehghani with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Korrani/whisper-small-Fa_Korrani_Bahmanpour_Dehghani with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="Korrani/whisper-small-Fa_Korrani_Bahmanpour_Dehghani")# Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("Korrani/whisper-small-Fa_Korrani_Bahmanpour_Dehghani") model = AutoModelForSpeechSeq2Seq.from_pretrained("Korrani/whisper-small-Fa_Korrani_Bahmanpour_Dehghani", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K