.. Retrievals documentation master file, created by sphinx-quickstart on Mon Feb 19 14:43:55 2024. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. Retrievals Documentation ====================================== .. raw:: html GitHub Retrievals is an easy-to-use python framework supporting state-of-the-art embeddings, especially for information retrieval and rerank in NLP/LLM, based on PyTorch and Transformers. * Contrastive learning enhanced embeddings * LLM embeddings Installation ------------------ Install the **Prerequisites** * transformers * peft * faiss / faiss-gpu Now you are ready, proceed with .. code-block:: shell $ pip install open-retrievals Examples ------------------ .. toctree:: :maxdepth: 2 :caption: Contents: quick-start finetune.rst rerank.rst information-retrieval.rst rag.rst