docstr: Return question and choices from original example format
docstr_tok: ["Return","question","and","choices","from","original","example","format"]
code: def _create_example_from_original_format(
      cls, raw_example, set_type, i
  ):
      """Return question and choices from original example format"""
      choice_dict = {
          elem["label"]: elem["text"]
          for elem in raw_example["question"]["choices"]
      }
      choice_list = [choice_dict[key] for key in cls.CHOICE_KEYS]
      return Example(
          guid="%s-%s" % (set_type, i),
          prompt=raw_example["question"]["stem"],
          choice_list=choice_list,
          label=raw_example["answerKey"]
          if set_type != "test"
          else cls.CHOICE_KEYS[-1],
      )
  
imports: from dataclasses import dataclass
  from jiant.tasks.lib.templates.shared import labels_to_bimap
  from jiant.tasks.lib.templates import multiple_choice
  from jiant.utils.python.io import read_json_lines
label_desc: Use image node_id 6 for calling the CommonsenseQATask obj's underlying member method code with example usage: obj._create_example_from_original_format(cls, raw_example, set_type, i) and returns: Example