zhoudayang / semeval_2010_task8

semeval 2010 task8 关系抽取模型代码
18 stars 1 forks source link

preteat文件夹中找不到对应文件 #2

Open Emily-zcy opened 4 years ago

Emily-zcy commented 4 years ago

周炀你好,我在执行你preteat和preteat1文件夹里面的代码时,有些文件找不到 例如: google_words, google_lower_words, google_vec = read_vec("google_list.json", "google.npy") glove_words, glove_lower_words, glove_vec = read_vec("glove_list.json", "glove.npy") wiki_words, wiki_lower_words, wiki_vec = read_vec("wiki_fasttext.json", "wiki_fasttext.npy") embedding = np.load("google.npy") words = json.load(open("google_list.json")) embedding = np.load("wiki.vec.npy") words = json.load(open("words.json")) 这些google_list.json、google.npy等文件是需要我自己在网上下载吗?如果是需要我自己下载的话,可以把资源链接分享给我吗,我没找到对应的文件,不能正常的运行代码。十分感谢

zhoudayang commented 4 years ago

其实就是词向量,分别对应google 300d,wiki300d上训练的词向量