From d74392d79af86f868d23ef325912c446ce472ecc Mon Sep 17 00:00:00 2001 From: Yifan Mai Date: Fri, 20 Dec 2024 13:55:13 -0800 Subject: [PATCH] Fix incorrect file path in CzechBankQAAnnotator (#3240) --- src/helm/benchmark/annotation/czech_bank_qa_annotator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helm/benchmark/annotation/czech_bank_qa_annotator.py b/src/helm/benchmark/annotation/czech_bank_qa_annotator.py index 67efe11fae9..d1d458b90a5 100644 --- a/src/helm/benchmark/annotation/czech_bank_qa_annotator.py +++ b/src/helm/benchmark/annotation/czech_bank_qa_annotator.py @@ -27,7 +27,7 @@ def __init__(self, file_storage_path: str): file_name = "czech_bank.db" file_path = os.path.join(cache_dir, file_name) ensure_file_downloaded(source_url=CzechBankQAAnnotator.DATABASE_SOURCE_URL, target_path=file_path) - database = sqlite3.connect("/home/yifanmai/oss/helm/czech_bank/czech_bank.db") + database = sqlite3.connect(file_path) # csv_files_dir = "/home/yifanmai/oss/helm-scenarios/1999-czech-bank" # # table_name_to_file_name = {