thu-coai / Emotional-Support-Conversation

Data and codes for ACL 2021 paper: Towards Emotional Support Dialog Systems
Other
219 stars 32 forks source link

”glove.6B.300d.model.bin“ 文件缺失 #27

Closed wlr737 closed 1 year ago

wlr737 commented 1 year ago

./codes_zcj/metric/word2vec/evaluate.py 中第15行中: class Embedding(object): def init(self): path = '/home/zhengchujie/wordvector/english/glove6B' # please modify the path manually

path = ''

    self.m = KeyedVectors.load(os.path.join(path, 'glove.6B.300d.model.bin'), mmap='r')
    try:
        self.unk = self.m.vectors.mean(axis=0)
    except AttributeError:
        self.unk = self.m.syn0.mean(axis=0)

'glove.6B.300d.model.bin'文件要怎么下载呢

haoyulee0 commented 1 year ago

https://onedrive.live.com/?authkey=%21AM6UkpxAQnqqtaY&id=750C6D59C3BFBC4C%215438&cid=750C6D59C3BFBC4C