From 26bfce6869dc704f1d86792f9a681d453d7e7bb8 Mon Sep 17 00:00:00 2001 From: Guillaume Raille Date: Wed, 3 Apr 2019 14:34:38 +0200 Subject: [PATCH] fix dead url for fasttext vectors (#521) * fix dead url for fasttext --- torchtext/vocab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 torchtext/vocab.py diff --git a/torchtext/vocab.py b/torchtext/vocab.py old mode 100644 new mode 100755 index c6088a281b..937f185d7b --- a/torchtext/vocab.py +++ b/torchtext/vocab.py @@ -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)