SPM_toolkit
SPM_toolkit copied to clipboard
load_word_vectors problems
I have torchtext 0.1.1 , python 2.7 but function "load_word_vectors" would not download the correct zip file (the 2.18GB one) when it starts downloading "glove.840B.300d: 8.19kB [00:00, 9.51kB/s]" and it always ends up with a bad zip file
was I missing anything?
torchtext 0.1.1 is correct, how about your network speed?
I solved this error by modifying vocab.py file from torchtext, basically I bypassed the downloading the unzip step.
and, What's your memory size when implementing those four frameworks? My 4GB was quickly run out.
4GB is too small, I ran this code in a server with tens of GB of memory. ESIM is memory efficient, as it uses the file iterator without loading all the data into memory. You can try ESIM first with your 4GB memory.
thx for the quick reply !