02c0ef855321a2c9e681927b9cdaf0996c310893,tools/batch/submit-job.py,,,#,11

Before Change


parser.add_argument("--region", help="Default region when creating new connections", type=str,
                    default=None)
parser.add_argument("--name", help="name of the job", type=str, default="dummy")
parser.add_argument("--job-type", help="type of job to submit.", type=str,
                    choices=["g4dn.4x", "g4dn.8x", "g4dn.12x", "g4dn.16x",
                             "p3.2x", "p3.8x", "p3.16x", "p3dn.24x",
                             "c5n.18x", "c5n.4x"], default="g4dn.4x")
parser.add_argument("--source-ref",
                    help="ref in GluonNLP main github. e.g. master, refs/pull/500/head",
                    type=str, default="master")
parser.add_argument("--work-dir",

After Change


parser.add_argument("--region", help="Default region when creating new connections", type=str,
                    default=None)
parser.add_argument("--name", help="name of the job", type=str, default="dummy")
parser.add_argument("--job-type", help="type of job to submit.", type=str,
                    choices=instance_type_info.keys(), default="g4dn.4x")
parser.add_argument("--source-ref",
                    help="ref in GluonNLP main github. e.g. master, refs/pull/500/head",
                    type=str, default="master")
parser.add_argument("--work-dir",
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: dmlc/gluon-nlp
Commit Name: 02c0ef855321a2c9e681927b9cdaf0996c310893
Time: 2020-10-14
Author: xshiab@connect.ust.hk
File Name: tools/batch/submit-job.py
Class Name:
Method Name:


Project Name: Ambrosys/glyph
Commit Name: dc284c07036b413f313cbff0b952dd0e8544f2d8
Time: 2018-09-12
Author: markus.quade@gmail.com
File Name: glyph/cli/_parser.py
Class Name:
Method Name: get_parser


Project Name: mozilla/bugbug
Commit Name: 070dc7e2608457d5ad5f077f491786ddbaeb256e
Time: 2019-08-08
Author: ayush.shridhar1506@gmail.com
File Name: scripts/evaluate_similarity.py
Class Name:
Method Name: parse_args