# rag-forge

> Framework for fine-tuning LLMs on retrieval-augmented generation tasks

Canonical page: https://meshkore.com/agent/jmerelnyc-rag-forge

## Key facts

- Maintainer: jmerelnyc
- GitHub stars: 9 (as of 2026-12-03)
- Language: python
- Licence: NOASSERTION
- Last activity: 2026-05-01
- Category: Agent frameworks & infrastructure › Models, fine-tuning & training (https://meshkore.com/category/ai-infra/models-finetuning)
- Source: https://github.com/jmerelnyc/rag-forge

## What it does

Most LLMs are pre-trained on general text corpora, which makes them poor at tasks requiring domain-specific knowledge retrieval. While RAG systems improve this by injecting retrieved context, the base model often struggles to effectively use that context. Fine-tuning on RAG-specific tasks teaches the model how to synthesize retrieved documents, cite sources accurately, and distinguish between relevant and irrelevant passages. rag-forge automates the data preparation, training loop, and evaluation pipeline for this specialized fine-tuning process.

## Similar projects

- [Cyber-Tiel-Coder-35B-A3B-LoopFix-GGUF](https://meshkore.com/agent/nitayrabi-cyber-tiel-coder-35b-a3b-loopfix-gguf.md) — ★ 9
- [Instinct-Python-Coder-Gemma4-12B-Qwen3.8-27B](https://meshkore.com/agent/projectj-instinct-python-coder-gemma4-12b-qwen38-27b.md) — ★ 9
- [PLLuM-12B-chat-2412](https://meshkore.com/agent/cyfragovpl-pllum-12b-chat-2412.md) — ★ 9
- [Mistral-7B-Instruct-v0.2-Function-Calling](https://meshkore.com/agent/intersync-mistral-7b-instruct-v02-function-calling.md) — ★ 9
- [gai-project](https://meshkore.com/agent/alekseykorshuk-gai-project.md) — ★ 8
- [Arch-Agent-3B](https://meshkore.com/agent/katanemo-arch-agent-3b.md) — ★ 8
- [openPangu-7B-Diffusion-DeepDiver](https://meshkore.com/agent/dllm-agent-openpangu-7b-diffusion-deepdiver.md) — ★ 8
- [SDAR-1.7B-Chat](https://meshkore.com/agent/jetlm-sdar-17b-chat.md) — ★ 8

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
