From a6fb66311bbc3b5c5c4fc44dbfdfb5222b038e3b Mon Sep 17 00:00:00 2001 From: Steffy-zxf <48793257+Steffy-zxf@users.noreply.github.com> Date: Thu, 13 Aug 2020 11:09:24 +0800 Subject: [PATCH] Update sentence_sim.md --- docs/tutorial/sentence_sim.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/sentence_sim.md b/docs/tutorial/sentence_sim.md index 7b5fda2b2..29ce42866 100644 --- a/docs/tutorial/sentence_sim.md +++ b/docs/tutorial/sentence_sim.md @@ -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())