TIGER-AI-Lab/LongRAG

Official repo for "LongRAG: Enhancing Retrieval-Augmented Generation with Long-context LLMs".

39
/ 100
Emerging

Implements a two-stage architecture pairing long retrieval units (4K tokens, 30× longer than traditional approaches) with long-context LLM readers to rebalance retriever-reader workload asymmetry. Leverages Tevatron for dense retrieval with BGE embeddings and integrates with frontier LLMs (GPT-4o, Gemini-1.5-Pro, Claude-3-Opus) for reading comprehension. Provides preprocessed corpora and evaluation scripts for NQ and HotpotQA datasets via Hugging Face.

245 stars. No commits in the last 6 months.

Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 13 / 25

How are scores calculated?

Stars

245

Forks

19

Language

Python

License

MIT

Last pushed

Aug 25, 2024

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/rag/TIGER-AI-Lab/LongRAG"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.