Instructions to use jaehyeono/whisper-base-korean-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use jaehyeono/whisper-base-korean-lora with PEFT:
from peft import PeftModel from transformers import AutoModelForSpeechSeq2Seq base_model = AutoModelForSpeechSeq2Seq.from_pretrained("openai/whisper-base") model = PeftModel.from_pretrained(base_model, "jaehyeono/whisper-base-korean-lora") - Transformers
How to use jaehyeono/whisper-base-korean-lora with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("jaehyeono/whisper-base-korean-lora", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K