Skip to content

Commit

Permalink
fix dead url for fasttext vectors (#521)
Browse files Browse the repository at this point in the history
* fix dead url for fasttext
  • Loading branch information
grll authored and mttk committed Apr 3, 2019
1 parent ee24969 commit 26bfce6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchtext/vocab.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -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'

def __init__(self, language="en", **kwargs):
url = self.url_base.format(language)
Expand Down

0 comments on commit 26bfce6

Please sign in to comment.