Skip to content

Commit

Permalink
Merge pull request #1949 from microsoft/bug/glove
Browse files Browse the repository at this point in the history
New URL of Glove from Huggingface
  • Loading branch information
miguelgfierro committed Jun 30, 2023
2 parents 2cc148f + 8312de7 commit 044832a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion recommenders/datasets/mind.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 044832a

Please sign in to comment.