Skip to content

Instantly share code, notes, and snippets.

@sobamchan
Created December 2, 2019 12:37
Show Gist options
  • Save sobamchan/e14ad95bd37a526b19b702a7b0808b2a to your computer and use it in GitHub Desktop.
Save sobamchan/e14ad95bd37a526b19b702a7b0808b2a to your computer and use it in GitHub Desktop.
import sister
embedder = sister.MeanEmbedding(lang="en")
sentence = "I am a dog."
vector = embedder(sentence) # 300-dim vector
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment