Skip to content

Instantly share code, notes, and snippets.

@islem-esi
Created April 23, 2022 11:49
Show Gist options
  • Save islem-esi/59d022c198d5b010e2d99e565a8fb284 to your computer and use it in GitHub Desktop.
Save islem-esi/59d022c198d5b010e2d99e565a8fb284 to your computer and use it in GitHub Desktop.
similarity = embed_model.wv.similarity('sorted', 'ord')
most_similar = embed_model.wv.most_similar('len(x)')
vector = embed_model.wv['for']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment