class_docstr: Processor for the MRPC data set (GLUE version).
class_docstr_tok: ["Processor","for","the","MRPC","data","set","(","GLUE","version",")","."]
docstr: Creates examples for the training and dev sets.
docstr_tok: ["Creates","examples","for","the","training","and","dev","sets","."]
code: def _create_examples(self, lines, set_type):
      """Creates examples for the training and dev sets."""
      examples = []
      for i, line in enumerate(lines):
          if i == 0:
              continue
          guid = "%s-%s" % (set_type, i)
          text_a = tokenization.convert_to_unicode(line[3])
          text_b = tokenization.convert_to_unicode(line[4])
          if set_type == "test":
              label = "0"
          else:
              label = tokenization.convert_to_unicode(line[0])
          examples.append(
              InputExample(
                  guid=guid, text_a=text_a, text_b=text_b, label=label
              )
          )
      return examples
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import collections
  import csv
  import os
  import mesh_tensorflow
  import mesh_tensorflow.bert.bert
  import mesh_tensorflow.bert.optimization
  import mesh_tensorflow.bert.tokenization
  from six.moves import range
  import tensorflow.compat.v1
  from tensorflow.compat.v1 import estimator
label_desc: Use image node_id 5 for calling the MrpcProcessor obj's underlying member method code with example usage: obj._create_examples(lines, set_type) and returns: examples