diff --git a/evaluation/MLMscore_model_predictions.py b/evaluation/MLMscore_model_predictions.py index 09b6710a540b39fd5a69a5ecaa391bf62ac865d2..492c2ec2c5b9799d44b8316fcb4da82054bb93d7 100644 --- a/evaluation/MLMscore_model_predictions.py +++ b/evaluation/MLMscore_model_predictions.py @@ -39,7 +39,7 @@ def main(): print("Wrong dataset name given! Only multiwoz and SGD allowed") exit(1) - with open("data/" + args.predictions_on + "_biotag_evaluation_labels.json", "r") as file: + with open("data/" + args.predictions_on + "_evaluation_labels.json", "r") as file: data = json.load(file) turns = data["turn examples"] @@ -78,4 +78,4 @@ def main(): json.dump(prediction_indices, file) if __name__ == "__main__": - main() \ No newline at end of file + main() diff --git a/evaluation/RoBERTa_model_predictions.py b/evaluation/RoBERTa_model_predictions.py index 72ca1ed5911d4585e7edf76a2cb08df3f42d00d4..0d4570f7f2ce91e0c5c22de1317724e13430c428 100644 --- a/evaluation/RoBERTa_model_predictions.py +++ b/evaluation/RoBERTa_model_predictions.py @@ -39,7 +39,7 @@ def main(): print("Wrong dataset name given! Only multiwoz and SGD allowed") exit(1) - with open("data/" + args.predictions_on + "_biotag_evaluation_labels.json", "r") as file: + with open("data/" + args.predictions_on + "_evaluation_labels.json", "r") as file: data = json.load(file) turns = data["turn examples"] @@ -70,4 +70,4 @@ def main(): json.dump(prediction_indices, file) if __name__ == "__main__": - main() \ No newline at end of file + main() diff --git a/evaluation/codensity_model_predictions.py b/evaluation/codensity_model_predictions.py index ee4fed592bca5bc0b1228e3ffec54ebbdaee6f28..a868da16c0ceba917378abcb82dc5179e6e10105 100644 --- a/evaluation/codensity_model_predictions.py +++ b/evaluation/codensity_model_predictions.py @@ -39,7 +39,7 @@ def main(): print("Wrong dataset name given! Only multiwoz and SGD allowed") exit(1) - with open("data/" + args.predictions_on + "_biotag_evaluation_labels.json", "r") as file: + with open("data/" + args.predictions_on + "_evaluation_labels.json", "r") as file: data = json.load(file) turns = data["turn examples"] @@ -77,4 +77,4 @@ def main(): json.dump(prediction_indices, file) if __name__ == "__main__": - main() \ No newline at end of file + main() diff --git a/evaluation/persistence_image_model_predictions.py b/evaluation/persistence_image_model_predictions.py index 448e51f0f16c5f005355bf15081ecfc72afc97fd..8b849e35f4ed33aeb7f21e3f24018a07ba64acdf 100644 --- a/evaluation/persistence_image_model_predictions.py +++ b/evaluation/persistence_image_model_predictions.py @@ -39,7 +39,7 @@ def main(): print("Wrong dataset name given! Only multiwoz and SGD allowed") exit(1) - with open("data/" + args.predictions_on + "_biotag_evaluation_labels.json", "r") as file: + with open("data/" + args.predictions_on + "_evaluation_labels.json", "r") as file: data = json.load(file) turns = data["turn examples"] @@ -72,4 +72,4 @@ def main(): json.dump(prediction_indices, file) if __name__ == "__main__": - main() \ No newline at end of file + main() diff --git a/evaluation/wasserstein_model_predictions.py b/evaluation/wasserstein_model_predictions.py index 0245bed3a68a7282f79ada72772b33e93317cfe5..1fe9c83556debe2aaac0dc80064dcb73b8db6ef8 100644 --- a/evaluation/wasserstein_model_predictions.py +++ b/evaluation/wasserstein_model_predictions.py @@ -39,7 +39,7 @@ def main(): print("Wrong dataset name given! Only multiwoz and SGD allowed") exit(1) - with open("data/" + args.predictions_on + "_biotag_evaluation_labels.json", "r") as file: + with open("data/" + args.predictions_on + "_evaluation_labels.json", "r") as file: data = json.load(file) turns = data["turn examples"] @@ -75,4 +75,4 @@ def main(): if __name__ == "__main__": - main() \ No newline at end of file + main()