if args.max_seq_length:
raise UserWarning("argument max_seq_length is valid only when --raw is set")
if args.short_seq_prob:
raise UserWarning("argument short_seq_prob is valid only when --raw is set")
if args.masked_lm_prob:
raise UserWarning("argument masked_lm_prob is valid only when --raw is set")
if args.max_predictions_per_seq:
raise UserWarning("argument max_predictions_per_seq is valid only when "