From 08fefc3e8146ca75aed408b42c3dc51afc263837 Mon Sep 17 00:00:00 2001 From: Maja Jablonska <majajjablonska@gmail.com> Date: Thu, 9 Nov 2023 20:32:31 +1100 Subject: [PATCH] Remove debug prints --- combo/modules/model.py | 1 - combo/utils/download.py | 1 - 2 files changed, 2 deletions(-) diff --git a/combo/modules/model.py b/combo/modules/model.py index d9ad468..8f45cca 100644 --- a/combo/modules/model.py +++ b/combo/modules/model.py @@ -344,7 +344,6 @@ class Model(Module, FromParameters): model_params = config.get("model") model_params['parameters']['vocabulary'] = vocab_params - print(vocab_params) # The experiment config tells us how to _train_ a model, including where to get pre-trained # embeddings/weights from. We're now _loading_ the model, so those weights will already be diff --git a/combo/utils/download.py b/combo/utils/download.py index ff5ed9b..8b54a0f 100644 --- a/combo/utils/download.py +++ b/combo/utils/download.py @@ -17,7 +17,6 @@ _CACHE_DIR = os.getenv("COMBO_DIR", os.path.join(_HOME_DIR, ".combo")) def download_file(model_name, force=False): _make_cache_dir() url = _URL.format(model=model_name) - print('URL', url) local_filename = url.split("/")[-1] location = os.path.join(_CACHE_DIR, local_filename) if os.path.exists(location) and not force: -- GitLab