docstr: Format multi question examples as a list of IDs
docstr_tok: ["Format","multi","question","examples","as","a","list","of","IDs"]
code: def _text_to_ids(self, Xs, pad_token=None):
      """
      Format multi question examples as a list of IDs
      """
      q, answer_list = Xs
  
      pairs = [[q, answer_list[idx]] for idx in range(len(answer_list))]
      arrays = []
      for pair in pairs:
          arrays.append(next(super()._text_to_ids(pair)))
  
      kwargs = arrays[0]._asdict()
      max_len = max([len(arr.token_ids) for arr in arrays])
      kwargs["tokens"] = [arr.tokens for arr in arrays]
      kwargs["token_ids"] = padded_stack(
          [arr.token_ids for arr in arrays]
      )
      yield EncodedOutput(**kwargs)
  
imports: import numpy
  from finetune.base import BaseModel
  from finetune.input_pipeline import BasePipeline
  from finetune.encoding.input_encoder import EncodedOutput
  from finetune.encoding.target_encoders import IDEncoder
  import tensorflow
  from finetune.nn.target_blocks import multi_choice_question
  from finetune.util import list_transpose
  from finetune.encoding.input_encoder import tokenize_context
  from finetune.model import PredictMode
label_desc: Use image node_id 3 for calling the MultipleChoicePipeline obj's underlying member method code with example usage: obj._text_to_ids(Xs, pad_token) without return types