Skip to content

Instantly share code, notes, and snippets.

@random-forests
Last active March 30, 2018 19:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save random-forests/16161a0983e68de04ed62a72c8c7a576 to your computer and use it in GitHub Desktop.
Save random-forests/16161a0983e68de04ed62a72c8c7a576 to your computer and use it in GitHub Desktop.
Snippet for the TF blog
# Download a module and use it to retrieve word embeddings.
embed = hub.Module(“https://tfhub.dev/google/nnlm-en-dim50/1")
embeddings = embed([“The movie was great!”])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment