def main(): config_files = [ "experiments/ner/conll2003_de_config.json", "experiments/ner/germEval14_config.json", "experiments/text_classification/germEval18Fine_config.json", "experiments/text_classification/germEval18Coarse_config.json", "experiments/text_classification/gnad_config.json", "experiments/qa/squad20_config.json", ] for conf_file in config_files: experiments = load_experiments(conf_file) for args in experiments: logger.info( "\n***********************************************" f"\n************* Experiment: {args.task.name} ************" "\n************************************************" ) ml_logger = MLFlowLogger(tracking_uri=args.logging.mlflow_url) ml_logger.init_experiment( experiment_name=args.logging.mlflow_experiment, run_name=args.logging.mlflow_run_name, nested=args.logging.mlflow_nested, ) run_experiment(args)
def main(): config_files = [ "experiments/ner/conll2003_de_config.json", "experiments/ner/germEval14_config.json", "experiments/text_classification/germEval18Fine_config.json", "experiments/text_classification/germEval18Coarse_config.json", "experiments/text_classification/gnad_config.json", "experiments/qa/squad20_config.json", ] for conf_file in config_files: experiments = load_experiments(conf_file) for experiment in experiments: run_experiment(experiment)