def METHOD_NAME(args):
    args.task_name = args.task_name.lower()
    if args.task_name == "udc":
        if not args.save_steps:
            args.save_steps = 1000
        if not args.logging_steps:
            args.logging_steps = 100
        if not args.epochs:
            args.epochs = 2
        if not args.max_seq_len:
            args.max_seq_len = 210
        if not args.test_batch_size:
            args.test_batch_size = 100
    elif args.task_name == "dstc2":
        if not args.save_steps:
            args.save_steps = 400
        if not args.logging_steps:
            args.logging_steps = 20
        if not args.epochs:
            args.epochs = 40
        if not args.learning_rate:
            args.learning_rate = 5e-5
        if not args.max_seq_len:
            args.max_seq_len = 256
        if not args.test_max_seq_len:
            args.test_max_seq_len = 512
    elif args.task_name == "atis_slot":
        if not args.save_steps:
            args.save_steps = 100
        if not args.logging_steps:
            args.logging_steps = 10
        if not args.epochs:
            args.epochs = 50
    elif args.task_name == "atis_intent":
        if not args.save_steps:
            args.save_steps = 100
        if not args.logging_steps:
            args.logging_steps = 10
        if not args.epochs:
            args.epochs = 20
    elif args.task_name == "mrda":
        if not args.save_steps:
            args.save_steps = 500
        if not args.logging_steps:
            args.logging_steps = 200
        if not args.epochs:
            args.epochs = 7
    elif args.task_name == "swda":
        if not args.save_steps:
            args.save_steps = 500
        if not args.logging_steps:
            args.logging_steps = 200
        if not args.epochs:
            args.epochs = 3
    else:
        raise ValueError("Not support task: %s." % args.task_name)
    if not args.data_dir:
        args.data_dir = "./DGU_datasets/" + args.task_name
    if not args.output_dir:
        args.output_dir = "./checkpoints/" + args.task_name
    if not args.learning_rate:
        args.learning_rate = 2e-5
    if not args.batch_size:
        args.batch_size = 32
    if not args.test_batch_size:
        args.test_batch_size = args.batch_size
    if not args.max_seq_len:
        args.max_seq_len = 128
    if not args.test_max_seq_len:
        args.test_max_seq_len = args.max_seq_len