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/AZ3J0Ke January 7, 2025 at 11:14PM
Show HN: Tinyhnsw – The Littlest Vector Database https://ift.tt/fUK0eN3
Related Articles
Show HN: Nash, I made a standalone note with single HTML file https://ift.tt/7rz4fQyShow HN: Nash, I made a standalone note with single HTML file Hello HN… Read More
Show HN: Basic Memory – Build a knowledge graph from Claude conversations https://ift.tt/eOVX4jZShow HN: Basic Memory – Build a knowledge graph from Claude conversati… Read More
Show HN: Pi Labs – AI scoring and optimization tools for software engineers https://ift.tt/87YKZjiShow HN: Pi Labs – AI scoring and optimization tools for software engi… Read More
Show HN: OCR Benchmark Focusing on Automation https://ift.tt/x5YzwXcShow HN: OCR Benchmark Focusing on Automation OCR/Document extraction … Read More
Show HN: Cross-platform native UI library for all OS https://ift.tt/Z8lzMe9Show HN: Cross-platform native UI library for all OS https://ift.tt/2O… Read More
Show HN: Kill SaaS with Open Source https://ift.tt/GzXmESdShow HN: Kill SaaS with Open Source KillSaaS is my answer to subscript… Read More
Show HN: Bypass DEI Censorship https://ift.tt/NUaSkYZShow HN: Bypass DEI Censorship https://ift.tt/lRb2cQe March 14, 2025 a… Read More
Show HN: Cppmatch – Rust-Like Pattern Matching and Error Handling for C++ https://ift.tt/JGZakfKShow HN: Cppmatch – Rust-Like Pattern Matching and Error Handling for … Read More
0 Comments: