5155199f5df2129d10bc52ceffce5d7720538806,labs/09/lemmatizer_noattn.py,,,#,196

Before Change


    parser.add_argument("--recodex", default=False, action="store_true", help="Evaluation in ReCodEx.")
    parser.add_argument("--rnn_dim", default=64, type=int, help="RNN cell dimension.")
    parser.add_argument("--threads", default=1, type=int, help="Maximum number of threads to use.")
    args = parser.parse_args()

    // Fix random seeds and number of threads
    np.random.seed(42)
    tf.random.set_seed(42)

After Change



    // Create logdir name
    args.logdir = os.path.join("logs", "{}-{}-{}".format(
        os.path.basename(globals().get("__file__", "notebook")),
        datetime.datetime.now().strftime("%Y-%m-%d_%H%M%S"),
        ",".join(("{}={}".format(re.sub("(.)[^_]*_?", r"\1", key), value) for key, value in sorted(vars(args).items())))
    ))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: ufal/npfl114
Commit Name: 5155199f5df2129d10bc52ceffce5d7720538806
Time: 2020-04-29
Author: milan@strakovi.com
File Name: labs/09/lemmatizer_noattn.py
Class Name:
Method Name:


Project Name: yahoo/TensorFlowOnSpark
Commit Name: 981e4266d4ea816b08a762193bd52f40cd1a3242
Time: 2019-08-07
Author: leewyang@verizonmedia.com
File Name: examples/mnist/mnist_data_setup.py
Class Name:
Method Name:


Project Name: ufal/npfl114
Commit Name: 5155199f5df2129d10bc52ceffce5d7720538806
Time: 2020-04-29
Author: milan@strakovi.com
File Name: labs/09/lemmatizer_attn.py
Class Name:
Method Name: