chunk_content:  LoraModel.
  
  class peft.LoraModel
  
  <
  source
  >
  (
  model
  config
  adapter_name
  
  )
  →
  torch.nn.Module
  
  Parameters 
  
  model (PreTrainedModel) — The model to be adapted.
  
  
  config (LoraConfig) — The configuration of the Lora model.
  
  
  Returns
  
  torch.nn.Module
  
  
  
  The Lora model.
  
  
  Creates Low Rank Adapter (Lora) model from a pretrained transformers model.
  
  Example:
  
  
  	Copied
  >>> from transformers import AutoModelForSeq2SeqLM
  >>> from peft import LoraModel, 