rtmaww / SENT

codes for ACL2021 paper "SENT: Sentence-level Distant Relation Extraction via Negative Training"
29 stars 4 forks source link

How could i get "glove.6B.50d_word2id.json" and "glove.6B.50d_mat.npy"? #10

Open zzw55486402 opened 2 years ago

zzw55486402 commented 2 years ago

When I want to run the code, I found two filed didnt exist, can you tell me how to get the "glove.6B.50d_word2id.json" and "glove.6B.50d_mat.npy"?

rtmaww commented 2 years ago

Hello. The glove vectors can be downloaded from https://nlp.stanford.edu/projects/glove/.

rtmaww commented 2 years ago

Please get the files by: wget https://thunlp.oss-cn-qingdao.aliyuncs.com/opennre/pretrain/glove/glove.6B.50d_mat.npy wget https://thunlp.oss-cn-qingdao.aliyuncs.com/opennre/pretrain/glove/glove.6B.50d_word2id.json