Skip to content

Instantly share code, notes, and snippets.

@RoaldSchuring
Created July 13, 2019 13:53
Show Gist options
  • Save RoaldSchuring/8e75e018aaf0fe92211895896de3cc84 to your computer and use it in GitHub Desktop.
Save RoaldSchuring/8e75e018aaf0fe92211895896de3cc84 to your computer and use it in GitHub Desktop.
create_wine_embedding
wine_vector = sum(word_vectors) / len(word_vectors)
wine_vector_output = json.dumps(wine_vector.tolist())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment