sequence_tagging icon indicating copy to clipboard operation
sequence_tagging copied to clipboard

How to get or create 'data/glove.6B/glove.6B.300d.txt'?

Open Bamboo-TNLP opened this issue 6 years ago • 6 comments

Bamboo-TNLP avatar Apr 05 '19 13:04 Bamboo-TNLP

run make glove

fanghuafan avatar Apr 11 '19 06:04 fanghuafan

Hi @Bmblryz you can download glove vectors manually from https://nlp.stanford.edu/projects/glove/

guillaumegenthial avatar Apr 12 '19 04:04 guillaumegenthial

I've run make glove and got error like...

wget -P ./data/ "http://nlp.stanford.edu/data/glove.6B.zip" --2019-05-03 11:27:36-- http://nlp.stanford.edu/data/glove.6B.zip Resolving nlp.stanford.edu... 171.64.67.140 Connecting to nlp.stanford.edu|171.64.67.140|:80... connected. HTTP request sent, awaiting response... 302 Found Location: https://nlp.stanford.edu/data/glove.6B.zip [following] --2019-05-03 11:27:36-- https://nlp.stanford.edu/data/glove.6B.zip Connecting to nlp.stanford.edu|171.64.67.140|:443... connected. ERROR: cannot verify nlp.stanford.edu's certificate, issued by /C=US/ST=MI/L=Ann Arbor/O=Internet2/OU=InCommon/CN=InCommon RSA Server CA': Self-signed certificate encountered. To connect to nlp.stanford.edu insecurely, use --no-check-certificate'. makefile:2: recipe for target 'glove' failed make: *** [glove] Error 5

after adding --no-check-certificate in the makefile. it works perfectly.

so try wget --no-check-certificate -P ./data/ "http://nlp.stanford.edu/data/glove.6B.zip"

pjlintw avatar May 03 '19 02:05 pjlintw

This is probably because nlp.stanford.edu has gone down. I tried visiting https://nlp.stanford.edu/ directly via my browser but failed

HsimWong avatar Apr 06 '20 16:04 HsimWong

@pjlintw which makefile?

shambhaviparashar avatar Jun 25 '20 16:06 shambhaviparashar

got it, in download_glove.sh, add wget --no-check-certificate

shambhaviparashar avatar Jun 25 '20 16:06 shambhaviparashar