code: def embed_questions(
      self,
      input_ids,
      attention_mask=None,
      checkpoint_batch_size=-1,
  ):
      q_reps = self.embed_sentences_checkpointed(
          input_ids,
          attention_mask,
          self.bert_query,
          checkpoint_batch_size,
      )
      return self.project_query(q_reps)
  
file_path: transformers/src/transformers/models/deprecated/retribert/modeling_retribert.py
imports: import math
  from typing import Optional
  import torch
  import torch.utils.checkpoint
  from torch import nn
  from ....modeling_utils import PreTrainedModel
  from ....utils import add_start_docstrings, logging
  from ...bert.modeling_bert import BertModel
  from .configuration_retribert import RetriBertConfig
label_desc: Use image node_id 3 for calling the RetriBertModel obj's underlying member method code with example usage: obj.embed_questions(input_ids, attention_mask, checkpoint_batch_size) and returns: self