Upload 3 files
Browse files
scripts/evaluate_information_integration.py
CHANGED
@@ -15,7 +15,7 @@ def evaluate_information_integration(config):
|
|
15 |
model_name = config['model_name']
|
16 |
|
17 |
# Iterate over each model specified in the config
|
18 |
-
filename = os.path.join(result_path, f
|
19 |
ensure_directory_exists(filename)
|
20 |
|
21 |
results = get_prediction_result(config, config['integration_file_name'], filename) # Store results for this model
|
|
|
15 |
model_name = config['model_name']
|
16 |
|
17 |
# Iterate over each model specified in the config
|
18 |
+
filename = os.path.join(result_path, f"prediction_{config['output_file_extension']}.json")
|
19 |
ensure_directory_exists(filename)
|
20 |
|
21 |
results = get_prediction_result(config, config['integration_file_name'], filename) # Store results for this model
|
scripts/evaluate_noise_robustness.py
CHANGED
@@ -14,7 +14,7 @@ def evaluate_noise_robustness(config):
|
|
14 |
noise_rate = config['noise_rate']
|
15 |
|
16 |
# Iterate over each model specified in the config
|
17 |
-
filename = os.path.join(result_path, f
|
18 |
ensure_directory_exists(filename)
|
19 |
|
20 |
results = get_prediction_result(config, config['robustness_file_name'], filename) # Store results for this model
|
|
|
14 |
noise_rate = config['noise_rate']
|
15 |
|
16 |
# Iterate over each model specified in the config
|
17 |
+
filename = os.path.join(result_path, f"prediction_{config['output_file_extension']}.json")
|
18 |
ensure_directory_exists(filename)
|
19 |
|
20 |
results = get_prediction_result(config, config['robustness_file_name'], filename) # Store results for this model
|
scripts/get_factual_evaluation.py
CHANGED
@@ -14,7 +14,7 @@ def get_factual_evaluation(config):
|
|
14 |
noise_rate = config['noise_rate']
|
15 |
|
16 |
# Iterate over each model specified in the config
|
17 |
-
filename = os.path.join(result_path, f
|
18 |
ensure_directory_exists(filename)
|
19 |
|
20 |
results = get_prediction_result(config, config['factual_file_name'], filename) # Store results for this model
|
|
|
14 |
noise_rate = config['noise_rate']
|
15 |
|
16 |
# Iterate over each model specified in the config
|
17 |
+
filename = os.path.join(result_path, f"prediction_{config['output_file_extension']}.json")
|
18 |
ensure_directory_exists(filename)
|
19 |
|
20 |
results = get_prediction_result(config, config['factual_file_name'], filename) # Store results for this model
|