I made this website with my wife in mind; it makes it possible to browse for similar fashion products over many different retailers at once.
The backend is written in Swift, and is hosted on a single Mac Mini. It performs nearest neighbors on the GPU over ~3M product images.
No vector DB, just pure matrix multiplications. Since we aren't just doing approximate nearest neighbors but rather sorting all results by distance, it's possible to show different "variety" levels by changing the stride over the sorted search results.
Nearest neighbors are computed in a latent vector space. The model which produces the vectors is also something I trained in pure Swift.
The underlying data is about 2TB scraped from https://www.shopltk.com/.
All the code is at https://github.com/unixpickle/LTKlassifier
Comments URL: https://news.ycombinator.com/item?id=43373163
Points: 21
# Comments: 7
Login to add comment
Other posts in this group

Article URL: https://github.com/valine/training-hot-swap/
Comments URL: ht

Article URL: https://tikzjax.com/
Comments URL: https://news.ycombinator.com/item?id=43746831

After 16 years, I have just launched my game JuryNow. Imagine having a truly diverse panel of 12 real people of all ages, far removed from your peer group, around the world who will be able to gi
Built this dashboard to visualize cannabis sales in real time across North America during 4/20. The data updates live from thousands of dispensary POS transactions as the day unfolds.
Under the