Retrievals Documentation#
GitHubRetrievals 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
$ pip install open-retrievals