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

self.TEXT.build_vocab(self.train, self.dev, self.test, vectors=GloVe(name='840B', dim=300)) ,the error always exists. #15

Open
jams-xin opened this issue Nov 18, 2020 · 0 comments

Comments

@jams-xin
Copy link

Traceback (most recent call last):
File "train.py", line 148, in
main()
File "train.py", line 127, in main
data = Quora(args)
File "/home/ner/BIMPM-pytorch/model/utils.py", line 70, in init
self.TEXT.build_vocab(self.train, self.dev, self.test, vectors=GloVe(name='840B', dim=300))
File "/opt/conda/envs/bimpm/lib/python3.6/site-packages/torchtext/vocab.py", line 324, in init
super(GloVe, self).init(name, url=url, **kwargs)
File "/opt/conda/envs/bimpm/lib/python3.6/site-packages/torchtext/vocab.py", line 222, in init
self.cache(name, cache, url=url)
File "/opt/conda/envs/bimpm/lib/python3.6/site-packages/torchtext/vocab.py", line 242, in cache
urlretrieve(url, dest, reporthook=reporthook(t))
File "/opt/conda/envs/bimpm/lib/python3.6/urllib/request.py", line 289, in urlretrieve
% (read, size), result)
urllib.error.ContentTooShortError: <urlopen error retrieval incomplete: got only 1078111416 out of 2176768927 bytes>

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

No branches or pull requests

1 participant