code: def _create_examples(cls, lines, set_type):
      examples = []
  
      for i, line in enumerate(lines):
          choice_pre, option = line["sentence"].split("_")
  
          examples.append(
              Example(
                  guid="%s-%s" % (set_type, i),
                  prompt=option,
                  choice_list=[
                      choice_pre + line["option1"],
                      choice_pre + line["option2"],
                  ],
                  label=int(line["answer"])
                  if set_type != "test"
                  else cls.CHOICE_KEYS[-1],
              )
          )
      return examples
  
imports: from dataclasses import dataclass
  import numpy
  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
  from jiant.tasks.lib.templates.shared import create_input_set_from_tokens_and_segments, add_cls_token
  from jiant.tasks.utils import truncate_sequences
label_desc: Use image node_id 4 for calling the WinograndeTask obj's underlying member method code with example usage: obj._create_examples(cls, lines, set_type) and returns: examples