Created
May 27, 2018 04:50
-
-
Save hamelsmu/0d9468333a103bdb3fbc91d772ab4891 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
search_index = nmslib.init(method='hnsw', space='cosinesimil') | |
search_index.addDataPointBatch(numpy_vectors) | |
search_index.createIndex({'post': 2}, print_progress=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment