from utils import common, configuration, triplet_cl_methods

if __name__ == "__main__":

    cfg_json_list = [
        # "config/triplet_ap/rd_twostep/amzn_nc3_a01.json",
        # "config/triplet_ap/rd_twostep/amzn_nc3_a005.json",
        # "config/triplet_ap/rd_twostep/covidclu_nc3_a005.json",
        # "config/triplet_ap/rd_twostep/covidclu_nc3_a01.json",
        # "config/triplet_ap/rd_twostep/fewrel_nc5_a005.json",
        # "config/triplet_ap/rd_twostep/fewrel_nc5_a01.json",
        # "config/triplet_ap/rd_twostep/fewrel_nc10_a005.json",
        # "config/triplet_ap/rd_twostep/fewrel_nc10_a01.json",
        # "config/triplet_ap/rd_twostep/huff_nc5_a005.json",
        # "config/triplet_ap/rd_twostep/huff_nc5_a01.json",
        # "config/triplet_ap/rd_twostep/huff_nc10_a005.json",
        # "config/triplet_ap/rd_twostep/huff_nc10_a01.json",
    ]

    for cfg_json in cfg_json_list:

        cfg = configuration.triplet_ap_cl_config.from_json(cfg_json); print(f"config from {cfg_json}")
        common.set_random_seed(cfg.seed_num)

        triplet_cl_methods.train_eval_cl_model(cfg)
5c502429317c7e3e0231ca8c57b41a86b568fd77
<mask token>

<mask token>
if __name__ == '__main__':
    cfg_json_list = []
    for cfg_json in cfg_json_list:
        cfg = configuration.triplet_ap_cl_config.from_json(cfg_json)
        print(f'config from {cfg_json}')
        common.set_random_seed(cfg.seed_num)
        triplet_cl_methods.train_eval_cl_model(cfg)

from utils import common, configuration, triplet_cl_methods
if __name__ == '__main__':
    cfg_json_list = []
    for cfg_json in cfg_json_list:
        cfg = configuration.triplet_ap_cl_config.from_json(cfg_json)
        print(f'config from {cfg_json}')
        common.set_random_seed(cfg.seed_num)
        triplet_cl_methods.train_eval_cl_model(cfg)

from utils import common, configuration, triplet_cl_methods

if __name__ == "__main__":

    cfg_json_list = [
        # "config/triplet_ap/rd_twostep/amzn_nc3_a01.json",
        # "config/triplet_ap/rd_twostep/amzn_nc3_a005.json",
        # "config/triplet_ap/rd_twostep/covidclu_nc3_a005.json",
        # "config/triplet_ap/rd_twostep/covidclu_nc3_a01.json",
        # "config/triplet_ap/rd_twostep/fewrel_nc5_a005.json",
        # "config/triplet_ap/rd_twostep/fewrel_nc5_a01.json",
        # "config/triplet_ap/rd_twostep/fewrel_nc10_a005.json",
        # "config/triplet_ap/rd_twostep/fewrel_nc10_a01.json",
        # "config/triplet_ap/rd_twostep/huff_nc5_a005.json",
        # "config/triplet_ap/rd_twostep/huff_nc5_a01.json",
        # "config/triplet_ap/rd_twostep/huff_nc10_a005.json",
        # "config/triplet_ap/rd_twostep/huff_nc10_a01.json",
    ]

    for cfg_json in cfg_json_list:

        cfg = configuration.triplet_ap_cl_config.from_json(cfg_json); print(f"config from {cfg_json}")
        common.set_random_seed(cfg.seed_num)

        triplet_cl_methods.train_eval_cl_model(cfg)