QingFei1/LongRAG

[EMNLP 2024] LongRAG: A Dual-perspective Retrieval-Augmented Generation Paradigm for Long-Context Question Answering

32
/ 100
Emerging

Implements a dual-perspective RAG architecture with separate Extractor and Filter components that decompose long-context understanding into global information retrieval and factual detail extraction. Built on LLaMA-Factory for supervised fine-tuning, it supports modular component composition—extractors and filters can be independently swapped across different LLM generators (ChatGLM3, Llama3, GPT-3.5, GLM-4). Evaluated on multi-hop QA datasets from LongBench with context lengths up to 32k tokens, achieving 52.56 F1 average with GLM-4.

120 stars. No commits in the last 6 months.

No License Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 10 / 25
Maturity 8 / 25
Community 14 / 25

How are scores calculated?

Stars

120

Forks

14

Language

Python

License

Last pushed

Jan 29, 2025

Commits (30d)

0

Get this data via API

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

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