TGViewer
Github LLMs Github LLMs @llm_learning · 756 subscribers
Post #37 714
RAG Foundry: A Framework for Enhancing LLMs for Retrieval Augmented Generation

5 Aug 2024 · Daniel Fleischer, Moshe Berchansky, Moshe Wasserblat, Peter Izsak ·

Implementing Retrieval-Augmented Generation (RAG) systems is inherently complex, requiring deep understanding of data, use cases, and intricate design decisions. Additionally, evaluating these systems presents significant challenges, necessitating assessment of both retrieval accuracy and generative quality through a multi-faceted approach. We introduce RAG Foundry, an open-source framework for augmenting large language models for RAG use cases. RAG Foundry integrates data creation, training, inference and evaluation into a single workflow, facilitating the creation of data-augmented datasets for training and evaluating large language models in RAG settings. This integration enables rapid prototyping and experimentation with various RAG techniques, allowing users to easily generate datasets and train RAG models using internal or specialized knowledge sources. We demonstrate the framework effectiveness by augmenting and fine-tuning Llama-3 and Phi-3 models with diverse RAG configurations, showcasing consistent improvements across three knowledge-intensive datasets.

Paper: https://arxiv.org/pdf/2408.02545v1.pdf

Code: https://github.com/intellabs/ragfoundry

Datasets: TriviaQA - PubMedQA

https://t.me/deep_learning_proj
  • 👍 4
More from @llm_learning
  1. Sep 11, 2026document post
  2. Sep 11, 2026Large-language models (LLMs) are rapidly becoming part of human culture, reshaping how inf…
  3. Jun 29, 2026CUDA Agent: Large-Scale Agentic RL for High-Performance CUDA Kernel Generation https://arx…
  4. Oct 2, 2025When AIs Judge AIs: The Rise of Agent-as-a-Judge Evaluation for LLMs 📚 Read @LLM_learning
  5. Aug 5, 2025With so many LLM papers being published, it's hard to keep up and compare results. This st…
  6. Jun 16, 2025Deep-Live-Cam Real time face swap and one-click video deepfake with only a single image Cr…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →