Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix dead url for fasttext vectors #521

Merged
merged 3 commits into from
Apr 3, 2019
Merged

fix dead url for fasttext vectors #521

merged 3 commits into from
Apr 3, 2019

Conversation

grll
Copy link
Contributor

@grll grll commented Mar 31, 2019

Previous URL has been returning 403 for quite a while now this new url seems to be working better.

@@ -407,7 +407,7 @@ def __init__(self, name='840B', dim=300, **kwargs):

class FastText(Vectors):

url_base = 'https://s3-us-west-1.amazonaws.com/fasttext-vectors/wiki.{}.vec'
url_base = "https://dl.fbaipublicfiles.com/fasttext/vectors-wiki/wiki.{}.vec"
Copy link
Contributor

@nzw0301 nzw0301 Apr 2, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you use ' instead of " for consistency?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure, I changed it.

@mttk
Copy link
Contributor

mttk commented Apr 3, 2019

Thanks!

@mttk mttk merged commit 26bfce6 into pytorch:master Apr 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants