spcl/MRAG

Official Implementation of "Multi-Head RAG: Solving Multi-Aspect Problems with LLMs"

44
/ 100
Emerging

Extracts embeddings from Transformer multi-head attention activations rather than decoder layers, enabling separate vector representations for different semantic aspects within documents. Provides a complete pipeline including synthetic dataset generation, embedding computation, vector database integration (Docker-based), and evaluation framework with visualization tools. Targets complex multi-aspect queries where relevant documents have distant embeddings in traditional embedding spaces.

240 stars.

No Package No Dependents
Maintenance 10 / 25
Adoption 10 / 25
Maturity 9 / 25
Community 15 / 25

How are scores calculated?

Stars

240

Forks

25

Language

Python

License

Last pushed

Feb 26, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/rag/spcl/MRAG"

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