LegalKit Retrieval, binary Search with int8 Rescoring through French legal codes
huggingface.co
huggingface.co
This process is designed to be memory efficient and fast, with the binary index being small enough to fit in memory and the int8 index being loaded as a view to save memory. Additionally, the binary index is much faster (up to 32x) to search than the float32 index, while the rescoring is also extremely efficient.
Link to the Space : https://huggingface.co/spaces/louisbrulenaudet/legalkit-retr...