RedCastle Crosslabel hallucination detector
1 min readupdated
RedCastle Crosslabel is a tool for checking generative system responses for unverified facts. Built on jhu-clsp/ettin-encoder-400m, it is designed for RAG (retrieval-augmented generation) workflows in two modes: question answering and text summarization. The tool highlights text segments that lack support from the provided sources. It runs on CPU and helps developers monitor the output quality of text models.
Key features
- CPU-ready inference (runs without requiring a powerful GPU).
- Character-span F1 matching evaluation.
- Two separate checkpoints for different tasks: QA and summarization.
- Open Apache-2.0 license for code and checkpoints.
What you can do
- Integrate response checking into a RAG application pipeline to filter out fabricated facts.
- Check the quality of text and document summaries against source materials.
- Use the command-line utility to quickly check JSON files containing responses.
Example
git clone [https://github.com/redcastleproducts/crosslabel.git](https://github.com/redcastleproducts/crosslabel.git)
cd crosslabel
python -m venv .venv
source .venv/bin/activate
pip install -e ".[detect]"
crosslabel detect examples/detect-qa.json --task-type QARead more
DetailsRAGTruth benchmark: Example-level F1 78.76, Character-span F1 59.24.
Hardware requirements: runs on CPU, checkpoint size is about 1.48 GB each.
Limitations: does not check logic or arithmetic, works only with text sources.
Base model: jhu-clsp/ettin-encoder-400m.










Comments