未验证 提交 a6fb6631 编写于 作者: S Steffy-zxf 提交者: GitHub

Update sentence_sim.md

上级 d9d160a2
......@@ -72,7 +72,7 @@ def convert_tokens_to_ids(vocab, text):
wids.append(wid)
return wids
module = hub.Module(name="word2vec_skipgram")
module = hub.Module(name="word2vec_skipgram", version='1.0.0')
inputs, outputs, program = module.context(trainable=False)
vocab = load_vocab(module.get_vocab_path())
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册