fasttext: use common-crawl not wiki vectors
They are trained on a larger corpus and thus better
This commit is contained in:
parent
d5aacba674
commit
ba4c963176
|
@ -467,7 +467,7 @@ class GloVe(Vectors):
|
|||
|
||||
class FastText(Vectors):
|
||||
|
||||
url_base = 'https://dl.fbaipublicfiles.com/fasttext/vectors-wiki/wiki.{}.vec'
|
||||
url_base = 'https://dl.fbaipublicfiles.com/fasttext/vectors-crawl/cc.{}.vec'
|
||||
|
||||
def __init__(self, language="en", **kwargs):
|
||||
url = self.url_base.format(language)
|
||||
|
|
Loading…
Reference in New Issue