This issue is grouping a few things that might be optimized to improve performance: - Faster dot product possible, see here: https://github.com/xenova/transformers.js/pull/667 - Add binary quantization for incredible performance gains: https://github.com/xenova/transformers.js/releases/tag/2.17.0. This should enable saving up to 3000 books in one index. In my last tests it was crashing for 1000 but working perfectly for 100 books. [Context1](https://twitter.com/DomeGIS/status/1767652880050180418), [context2](https://www.reddit.com/r/DHExchange/comments/1bbir6q/comment/kuksvf8/), [example](https://do-me.github.io/SemanticFinder/?hf=Collection_of_100_books_dd80b04b) tbc
This issue is grouping a few things that might be optimized to improve performance:
tbc