From 79f3b674cbe2e951794ddb47f363f76d5afd77eb Mon Sep 17 00:00:00 2001 From: miguelgfierro Date: Mon, 26 Jun 2023 17:14:59 +0200 Subject: [PATCH] New URL of Glove from Huggingface --- recommenders/datasets/mind.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recommenders/datasets/mind.py b/recommenders/datasets/mind.py index 8f23dce25f..a7bd588e04 100644 --- a/recommenders/datasets/mind.py +++ b/recommenders/datasets/mind.py @@ -252,7 +252,8 @@ def download_and_extract_glove(dest_path): Returns: str: File path where Glove was extracted. """ - url = "http://nlp.stanford.edu/data/glove.6B.zip" + # url = "http://nlp.stanford.edu/data/glove.6B.zip" + url = "https://huggingface.co/stanfordnlp/glove/resolve/main/glove.6B.zip" filepath = maybe_download(url=url, work_directory=dest_path) glove_path = os.path.join(dest_path, "glove") unzip_file(filepath, glove_path, clean_zip_file=False)