chunk_content: oder_ids:
  
  
  	Copied
  from peft import PeftModel, PeftConfig
  
  peft_model_id = "smangrul/openai-whisper-large-v2-LORA-colab"
  language = "Marathi"
  task = "transcribe"
  peft_config = PeftConfig.from_pretrained(peft_model_id)
  model = WhisperForConditionalGeneration.from_pretrained(
      peft_config.base_model_name_or_path, load_in_8bit=True, device_map="auto"
  )
  model = PeftModel.from_pretrained(model, peft_model_id)
  tokenizer = WhisperTokenizer.from_pr