MicroGuard: RAG Faithfulness Detector

Instantly check if your RAG system's answers are faithful to the retrieved context.

No API keys. No data leaves your device. Completely free.

Built on fine-tuned sub-1B parameter language models. Paper | Models | GitHub

Model
Try these examples (first two faithful, last two unfaithful)
Retrieved Context User Question (optional) Generated Answer

How it works: MicroGuard fine-tunes small language models with LoRA on 127K+ faithfulness-labeled examples from RAGBench, RAGTruth, and HaluBench. At inference, constrained decoding compares FAITHFUL vs UNFAITHFUL logits for deterministic classification with zero garbage outputs.

Models: Qwen-0.5B | SmolLM-135M | TinyLlama-1.1B | Gemma-270M | Gemma-1B