FlexRAG's picture
Update FlexRAG retriever
35991b0 verified
metadata
language: en
library_name: FlexRAG
tags:
  - FlexRAG
  - retrieval
  - search
  - lexical
  - RAG

FlexRAG Retriever

This is a DenseRetriever created with the FlexRAG library (version 0.1.8).

Installation

You can install the FlexRAG library with pip:

pip install flexrag

Loading a FlexRAG retriever

You can use this retriever for information retrieval tasks. Here is an example:

from flexrag.retriever import LocalRetriever

# Load the retriever from the HuggingFace Hub
retriever = LocalRetriever.load_from_hub("FlexRAG/wiki2021_atlas_contriever")

# You can retrieve now
results = retriever.search("Who is Bruce Wayne?")

FlexRAG Related Links: