code: def prepare_decoder_input_ids_from_labels(self, labels: torch.Tensor):
      return shift_tokens_right(labels, self.config.pad_token_id)
  
imports: import torch
  from transformers.models.mbart.modeling_mbart import MBART_INPUTS_DOCSTRING, MBART_START_DOCSTRING, MBartConfig, MBartModel, MBartPreTrainedModel, shift_tokens_right
  from transformers.utils import add_start_docstrings, add_start_docstrings_to_model_forward
  from ...composition import adjust_tensors_for_parallel
  from ...heads import ClassificationHead, ModelWithFlexibleHeadsAdaptersMixin, MultiLabelClassificationHead, QuestionAnsweringHead, Seq2SeqLMHead
  from ...model_mixin import EmbeddingAdaptersWrapperMixin
  from ...wrappers import init
label_desc: Use image node_id 6 for calling the MBartAdapterModel obj's underlying member method code with example usage: obj.prepare_decoder_input_ids_from_labels(labels) and returns: shift_tokens_right