Commit bd12e9a0 authored by 赵威's avatar 赵威

add some ids

parent e1f21fe3
......@@ -195,8 +195,10 @@ if __name__ == "__main__":
save_clicked_answer_ids_item2vec()
for id in ["744910", "507016", "799682", "712841"]:
for id in ["744910", "507016", "799682", "712841", "990793", "753792", "862143"]:
try:
ANSWER_CLICK_IDS_MODEL = word2vec.Word2Vec.load(answer_click_ids_model_path)
ANSWER_CLICK_IDS = set(ANSWER_CLICK_IDS_MODEL.wv.vocab.keys())
print(ANSWER_CLICK_IDS_MODEL.wv.most_similar(id, topn=10))
except Exception as e:
print(e)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment