Created
June 8, 2020 04:16
-
-
Save eustin/e4d4487bd85525f2daafa1deecf9fccb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query_2_embedding_indices = tokeniser.texts_to_sequences([query_2]) | |
query_2_embeddings = np.array([embeddings[x] for x in query_2_embedding_indices]) | |
print(query_2_embeddings) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment