chunk_content: fig.
  
  create_or_update_model_card
  
  <
  source
  >
  (
  output_dir: str
  
  )
  
  
  
  Updates or create model card to include information about peft:
  Adds peft library tag
  Adds peft version
  Adds quantization information if it was used
  
  disable_adapter
  
  <
  source
  >
  (
  )
  
  
  
  Disables the adapter module.
  
  forward
  
  <
  source
  >
  (
  *args: Any
  **kwargs: Any
  
  )
  
  
  
  Forward pass of the model.
  
  from_pretrained
  
  <
  source
  >
  (
  model: PreTrainedModel
  model_id: Union[str, os.PathL