Tag: embeddings
All the articles with the tag "embeddings".
-
From 19 Seconds to 50 Milliseconds: Making LibTrails Fast on a $7 Server
How I optimized LibTrails search from 3.5 seconds to 0.8 seconds and related books from 19 seconds to 50 milliseconds — by replacing PyTorch with ONNX Runtime and cutting a redundant 121K vector scan — all on a $7/month Lightsail instance with 1 GB RAM.
-
7 Signals, 4 Scopes: How LibTrails Searches 100 Books
How I built a multi-scope hybrid search system — 7 signals for books, 5 for clusters — combining BM25 full-text search with semantic vector search, all fused via Reciprocal Rank Fusion.