Skip to content

Commit

Permalink
Update sentence_sim.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Steffy-zxf authored Aug 13, 2020
1 parent d9d160a commit a6fb663
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorial/sentence_sim.md
Original file line number Diff line number Diff line change
Expand Up @@ -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())

Expand Down

0 comments on commit a6fb663

Please sign in to comment.