Wednesday, January 8, 2025

Show HN: Tinyhnsw – The Littlest Vector Database https://ift.tt/Kby8FXh

Show HN: Tinyhnsw – The Littlest Vector Database In an effort to understand it, I put together a simple, pure python implementation of HNSW, an approximate nearest neighbor library. Learned a lot, and I think for anyone interested in vector search it's an exercise that's absolutely worth doing. The code is optimized (imo) for readability, and working (albeit, quite slowly) on putting together a tutorial that walks through the motivation and implementation of HNSW. There's also working code examples for using the library for text and image search with sentence transformers and CLIP! https://ift.tt/CiMfmxd January 7, 2025 at 11:14PM

No comments:

Post a Comment

Show HN: Wsgrok – one of many ngrok alternatives https://ift.tt/6uGQzrl

Show HN: Wsgrok – one of many ngrok alternatives I built it for myself because ngrok didn't let me add one more domain unless I paid $12...