8911d5b7ead77719b8e3c998228558c4eb73e0dd,tests/NMT_architectures/attention_ConditionalGRU.py,,test_ConditionalGRU_add,#,12

Before Change


    dataset = build_dataset(params)
    params["INPUT_VOCABULARY_SIZE"] = dataset.vocabulary_len[params["INPUTS_IDS_DATASET"][0]]
    params["OUTPUT_VOCABULARY_SIZE"] = dataset.vocabulary_len[params["OUTPUTS_IDS_DATASET"][0]]
    params["MODEL_NAME"] = \
        params["TASK_NAME"] + "_" + params["SRC_LAN"] + params["TRG_LAN"] + "_" + params["MODEL_TYPE"] + \
        "_src_emb_" + str(params["SOURCE_TEXT_EMBEDDING_SIZE"]) + \
        "_bidir_" + str(params["BIDIRECTIONAL_ENCODER"]) + \
        "_enc_" + params["ENCODER_RNN_TYPE"] + "_*" + str(params["N_LAYERS_ENCODER"]) + "_" + str(
            params["ENCODER_HIDDEN_SIZE"]) + \
        "_dec_" + params["DECODER_RNN_TYPE"] + "_*" + str(params["N_LAYERS_DECODER"]) + "_" + str(
            params["DECODER_HIDDEN_SIZE"]) + \
        "_deepout_" + "_".join([layer[0] for layer in params["DEEP_OUTPUT_LAYERS"]]) + \
        "_trg_emb_" + str(params["TARGET_TEXT_EMBEDDING_SIZE"]) + \
        "_" + params["OPTIMIZER"] + "_" + str(params["LR"])
    params["STORE_PATH"] = os.path.join(K.backend() + "_test_train_models", params["MODEL_NAME"])

    // Test several NMT-Keras utilities: train, sample, sample_ensemble, score_corpus...
    print("Training model")
    train_model(params)

After Change


    print("Scoring corpus")
    score_corpus(parser, params)
    print("Done")
    clean_dirs(params)


def test_ConditionalGRU_dot():
    params = load_tests_params()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 33

Non-data size: 11

Instances


Project Name: lvapeab/nmt-keras
Commit Name: 8911d5b7ead77719b8e3c998228558c4eb73e0dd
Time: 2020-05-12
Author: lvapeab@gmail.com
File Name: tests/NMT_architectures/attention_ConditionalGRU.py
Class Name:
Method Name: test_ConditionalGRU_add


Project Name: lvapeab/nmt-keras
Commit Name: 8911d5b7ead77719b8e3c998228558c4eb73e0dd
Time: 2020-05-12
Author: lvapeab@gmail.com
File Name: tests/NMT_architectures/shallow_GRU_ConditionalLSTM.py
Class Name:
Method Name: test_NMT_Unidir_GRU_ConditionalLSTM


Project Name: lvapeab/nmt-keras
Commit Name: 8911d5b7ead77719b8e3c998228558c4eb73e0dd
Time: 2020-05-12
Author: lvapeab@gmail.com
File Name: tests/NMT_architectures/attention_ConditionalGRU.py
Class Name:
Method Name: test_ConditionalGRU_scaled


Project Name: lvapeab/nmt-keras
Commit Name: 8911d5b7ead77719b8e3c998228558c4eb73e0dd
Time: 2020-05-12
Author: lvapeab@gmail.com
File Name: tests/encodings/test_unk_replace.py
Class Name:
Method Name: test_unk_replace_0


Project Name: lvapeab/nmt-keras
Commit Name: 8911d5b7ead77719b8e3c998228558c4eb73e0dd
Time: 2020-05-12
Author: lvapeab@gmail.com
File Name: tests/NMT_architectures/unidir_deep_GRU_ConditionalLSTM.py
Class Name:
Method Name: test_NMT_Unidir_deep_GRU_ConditionalLSTM


Project Name: lvapeab/nmt-keras
Commit Name: 8911d5b7ead77719b8e3c998228558c4eb73e0dd
Time: 2020-05-12
Author: lvapeab@gmail.com
File Name: tests/NMT_architectures/unidir_deep_transformer_tied_embeddings.py
Class Name:
Method Name: test_transformer


Project Name: lvapeab/nmt-keras
Commit Name: 8911d5b7ead77719b8e3c998228558c4eb73e0dd
Time: 2020-05-12
Author: lvapeab@gmail.com
File Name: tests/NMT_architectures/attention_ConditionalLSTM.py
Class Name:
Method Name: test_ConditionalLSTM_add


Project Name: lvapeab/nmt-keras
Commit Name: 8911d5b7ead77719b8e3c998228558c4eb73e0dd
Time: 2020-05-12
Author: lvapeab@gmail.com
File Name: tests/data_engine/test_data_types.py
Class Name:
Method Name: test_text_features_target_text


Project Name: lvapeab/nmt-keras
Commit Name: 8911d5b7ead77719b8e3c998228558c4eb73e0dd
Time: 2020-05-12
Author: lvapeab@gmail.com
File Name: tests/NMT_architectures/shallow_LSTM_LSTM.py
Class Name:
Method Name: test_NMT_Unidir_LSTM_LSTM


Project Name: lvapeab/nmt-keras
Commit Name: 8911d5b7ead77719b8e3c998228558c4eb73e0dd
Time: 2020-05-12
Author: lvapeab@gmail.com
File Name: tests/NMT_architectures/attention_ConditionalLSTM.py
Class Name:
Method Name: test_ConditionalLSTM_dot


Project Name: lvapeab/nmt-keras
Commit Name: 8911d5b7ead77719b8e3c998228558c4eb73e0dd
Time: 2020-05-12
Author: lvapeab@gmail.com
File Name: tests/encodings/test_sampling.py
Class Name:
Method Name: test_sampling_maxlikelihood


Project Name: lvapeab/nmt-keras
Commit Name: 8911d5b7ead77719b8e3c998228558c4eb73e0dd
Time: 2020-05-12
Author: lvapeab@gmail.com
File Name: tests/NMT_architectures/bidir_deep_LSTM_GRU.py
Class Name:
Method Name: test_NMT_Bidir_deep_LSTM_GRU


Project Name: lvapeab/nmt-keras
Commit Name: 8911d5b7ead77719b8e3c998228558c4eb73e0dd
Time: 2020-05-12
Author: lvapeab@gmail.com
File Name: tests/NMT_architectures/attention_ConditionalLSTM.py
Class Name:
Method Name: test_ConditionalLSTM_scaled


Project Name: lvapeab/nmt-keras
Commit Name: 8911d5b7ead77719b8e3c998228558c4eb73e0dd
Time: 2020-05-12
Author: lvapeab@gmail.com
File Name: tests/NMT_architectures/unidir_deep_LSTM_ConditionalLSTM.py
Class Name:
Method Name: test_NMT_Unidir_deep_LSTM_ConditionalLSTM


Project Name: lvapeab/nmt-keras
Commit Name: 8911d5b7ead77719b8e3c998228558c4eb73e0dd
Time: 2020-05-12
Author: lvapeab@gmail.com
File Name: tests/NMT_architectures/attention_GRU.py
Class Name:
Method Name: test_GRU_add


Project Name: lvapeab/nmt-keras
Commit Name: 8911d5b7ead77719b8e3c998228558c4eb73e0dd
Time: 2020-05-12
Author: lvapeab@gmail.com
File Name: tests/NMT_architectures/shallow_GRU_LSTM.py
Class Name:
Method Name: test_NMT_Bidir_GRU_LSTM


Project Name: lvapeab/nmt-keras
Commit Name: 8911d5b7ead77719b8e3c998228558c4eb73e0dd
Time: 2020-05-12
Author: lvapeab@gmail.com
File Name: tests/data_engine/test_data_types.py
Class Name:
Method Name: test_text_features_none


Project Name: lvapeab/nmt-keras
Commit Name: 8911d5b7ead77719b8e3c998228558c4eb73e0dd
Time: 2020-05-12
Author: lvapeab@gmail.com
File Name: tests/encodings/test_sampling.py
Class Name:
Method Name: test_sampling_multinomial


Project Name: lvapeab/nmt-keras
Commit Name: 8911d5b7ead77719b8e3c998228558c4eb73e0dd
Time: 2020-05-12
Author: lvapeab@gmail.com
File Name: tests/NMT_architectures/attention_LSTM.py
Class Name:
Method Name: test_LSTM_scaled


Project Name: lvapeab/nmt-keras
Commit Name: 8911d5b7ead77719b8e3c998228558c4eb73e0dd
Time: 2020-05-12
Author: lvapeab@gmail.com
File Name: tests/NMT_architectures/attention_GRU.py
Class Name:
Method Name: test_ConditionalGRU_scaled


Project Name: lvapeab/nmt-keras
Commit Name: 8911d5b7ead77719b8e3c998228558c4eb73e0dd
Time: 2020-05-12
Author: lvapeab@gmail.com
File Name: tests/NMT_architectures/shallow_LSTM_ConditionalGRU.py
Class Name:
Method Name: test_NMT_Bidir_LSTM_ConditionalGRU


Project Name: lvapeab/nmt-keras
Commit Name: 8911d5b7ead77719b8e3c998228558c4eb73e0dd
Time: 2020-05-12
Author: lvapeab@gmail.com
File Name: tests/NMT_architectures/attention_LSTM.py
Class Name:
Method Name: test_LSTM_dot


Project Name: lvapeab/nmt-keras
Commit Name: 8911d5b7ead77719b8e3c998228558c4eb73e0dd
Time: 2020-05-12
Author: lvapeab@gmail.com
File Name: tests/NMT_architectures/attention_GRU.py
Class Name:
Method Name: test_ConditionalGRU_dot


Project Name: lvapeab/nmt-keras
Commit Name: 8911d5b7ead77719b8e3c998228558c4eb73e0dd
Time: 2020-05-12
Author: lvapeab@gmail.com
File Name: tests/NMT_architectures/shallow_LSTM_ConditionalGRU.py
Class Name:
Method Name: test_NMT_Unidir_LSTM_ConditionalGRU


Project Name: lvapeab/nmt-keras
Commit Name: 8911d5b7ead77719b8e3c998228558c4eb73e0dd
Time: 2020-05-12
Author: lvapeab@gmail.com
File Name: tests/NMT_architectures/shallow_LSTM_LSTM.py
Class Name:
Method Name: test_NMT_Bidir_LSTM_LSTM


Project Name: lvapeab/nmt-keras
Commit Name: 8911d5b7ead77719b8e3c998228558c4eb73e0dd
Time: 2020-05-12
Author: lvapeab@gmail.com
File Name: tests/NMT_architectures/attention_LSTM.py
Class Name:
Method Name: test_LSTM_add


Project Name: lvapeab/nmt-keras
Commit Name: 8911d5b7ead77719b8e3c998228558c4eb73e0dd
Time: 2020-05-12
Author: lvapeab@gmail.com
File Name: tests/data_engine/test_data_types.py
Class Name:
Method Name: test_text_features_src


Project Name: lvapeab/nmt-keras
Commit Name: 8911d5b7ead77719b8e3c998228558c4eb73e0dd
Time: 2020-05-12
Author: lvapeab@gmail.com
File Name: tests/NMT_architectures/shallow_GRU_ConditionalLSTM.py
Class Name:
Method Name: test_NMT_Bidir_GRU_ConditionalLSTM


Project Name: lvapeab/nmt-keras
Commit Name: 8911d5b7ead77719b8e3c998228558c4eb73e0dd
Time: 2020-05-12
Author: lvapeab@gmail.com
File Name: tests/NMT_architectures/bidir_deep_GRU_GRU.py
Class Name:
Method Name: test_NMT_Bidir_deep_GRU_GRU


Project Name: lvapeab/nmt-keras
Commit Name: 8911d5b7ead77719b8e3c998228558c4eb73e0dd
Time: 2020-05-12
Author: lvapeab@gmail.com
File Name: tests/NMT_architectures/attention_ConditionalGRU.py
Class Name:
Method Name: test_ConditionalGRU_dot


Project Name: lvapeab/nmt-keras
Commit Name: 8911d5b7ead77719b8e3c998228558c4eb73e0dd
Time: 2020-05-12
Author: lvapeab@gmail.com
File Name: tests/NMT_architectures/shallow_GRU_LSTM.py
Class Name:
Method Name: test_NMT_Unidir_GRU_LSTM


Project Name: lvapeab/nmt-keras
Commit Name: 8911d5b7ead77719b8e3c998228558c4eb73e0dd
Time: 2020-05-12
Author: lvapeab@gmail.com
File Name: tests/NMT_architectures/unidir_deep_transformer.py
Class Name:
Method Name: test_transformer


Project Name: lvapeab/nmt-keras
Commit Name: 8911d5b7ead77719b8e3c998228558c4eb73e0dd
Time: 2020-05-12
Author: lvapeab@gmail.com
File Name: tests/data_engine/test_data_types.py
Class Name:
Method Name: test_text_features_state_below