6955fab0f4f0a38ead24cec84152d82769a0cfa2,scripts/bert/run_pretraining_hvd.py,,,#,248

Before Change


            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 "

After Change


    logging.info("Train cost={:.1f}s".format(train_end_time - train_begin_time))

if __name__ == "__main__":
    random_seed = random.randint(0, 1000)
    nlp.utils.mkdir(args.ckpt_dir)
    ctx = mx.gpu(local_rank)

    dataset_name, vocab = args.dataset_name, None
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: dmlc/gluon-nlp
Commit Name: 6955fab0f4f0a38ead24cec84152d82769a0cfa2
Time: 2019-06-21
Author: linhaibin.eric@gmail.com
File Name: scripts/bert/run_pretraining_hvd.py
Class Name:
Method Name:


Project Name: rtavenar/tslearn
Commit Name: 77115317c9db300af606ad6666a103cbef81cd29
Time: 2019-07-02
Author: romain.tavenard@univ-rennes2.fr
File Name: tslearn/tests/test_shapelets.py
Class Name:
Method Name: test_shapelets


Project Name: dmlc/gluon-nlp
Commit Name: 29c957249fbdd4d5f7f517772835b7dc31a85e94
Time: 2020-01-15
Author: linhaibin.eric@gmail.com
File Name: src/gluonnlp/data/utils.py
Class Name:
Method Name: _load_pretrained_vocab