Closed crleblanc closed 5 years ago
Hi There!
Looks like the FastText GitHub has been updated... https://github.com/facebookresearch/fastText/blob/master/docs/pretrained-vectors.md
Their latest commit message:
Feel free to submit a PR with the new url!
Sounds good, I'll make a new PR for this today after I give it a quick manual test for both URLs.
Expected Behavior
Calling FastText() should successfully download data from an S3 bucket.
Actual Behavior
Making a call to FastText() is currently raising the error
urllib.error.HTTPError: HTTP Error 403: Forbidden
Steps to Reproduce the Problem
docker run -it --rm python:3.6 bash
. This should work the same in Python 3.6 and 3.7.pip install torchvision pytorch-nlp
The S3 URL in question is from https://github.com/PetrochukM/PyTorch-NLP/blob/c432c3e6991352443927da06a59c404e8ea44826/torchnlp/word_to_vector/fast_text.py#L74. Attempting to download this file from the AWS CLI using language='en' gives this error:
Looking at this bucket in the AWS console gives the error "All access to this object has been disabled". Hopefully it's just a matter of adjusting the bucket permissions/policy.