import tensorflow as tf

          "Cannot use sequence length %d because the model "
          "was only trained up to sequence length %d" %
          (FLAGS.max_seq_length, config.max_position_embeddings))
  else:
    config = None  # Get the config from TF-Hub.

  tf.gfile.MakeDirs(FLAGS.output_dir)

  task_name = FLAGS.task_name.lower()

  if task_name not in processors:
    raise ValueError("Task not found: %s" % (task_name))
