chunk_content: 
  source
  >
  (
  model
  peft_config: PeftConfig = None
  adapter_name = 'default'
  
  )
  
  
  Parameters 
  
  model (PreTrainedModel) — Base transformer model.
  
  
  peft_config (PeftConfig) — Peft config.
  
  
  
  Peft model for extracting features/embeddings from transformer models
  Attributes:
  config (PretrainedConfig) — The configuration object of the base model.
  
  Example:
  
  
  	Copied
  >>> from transformers import AutoModel
  >>> from peft import PeftModelForFeatureExtracti