RAGnarok-AI Retrieval Metrics Demo
Retrieval metrics on NovaTech, in the browser
Local-first RAG evaluation · LLM-as-Judge · Retrieval metrics · Ollama · CI/CD for LLM apps
RAGnarok-AI is an open-source framework for evaluating retrieval-augmented generation (RAG) pipelines. It is local-first: it runs on your own hardware, with local models, and your data stays on your machine.
pip install ragnarok-ai
ragnarok evaluate --demo
No local setup? Open the Colab notebook.
Documentation · GitHub · PyPI · Discussions
Retrieval metrics demo: the retrieval metrics of RAGnarok-AI, running in your browser.
Gjallar 0.6B is a sentence-level faithfulness judge. Given a context and one sentence of an answer, it returns the probability that the context supports the sentence. It is Qwen3-0.6B with LoRA adapters, runs with MLX on Apple Silicon, and is released under the Apache License 2.0.
It was evaluated once against HHEM-2.1-Open, on the RAGTruth test set and on five datasets of LLM-AggreFact. The protocol was frozen before any training. The claim it allows, quoted word for word:
no demonstrated gain on contradictions; RJ is not worse than HHEM on unsupported sentences
| Target | Observed, Gjallar minus HHEM | Outcome |
|---|---|---|
| Recall on contradicted sentences at specificity 0.96 (superiority) | +0.0719 [-0.0063, +0.1704] | not met |
| Recall on unsupported sentences at specificity 0.96 (non-inferiority, margin 0.05) | +0.0853 [+0.0434, +0.1477] | met |
| Mean AUC ROC out of domain (non-inferiority, margin 0.02) | +0.0245 [+0.0142, +0.0351] | met |
| Median latency per call, peak memory | 0.302 s, 2.68 GB | met (< 1 s, < 3 GB) |
Out of domain, the interval also lies above 0. This is descriptive only: the protocol does not
test superiority out of domain. Full results:
results/RESULTS.md.
The protocol, the training plan, the selection and the results were each fixed by a tag of the
RAGnarok-Judge repository before the next step
began: protocol-v1,
training-plan-v1,
selection-v1 and
results-v1.
RAGnarok-AI is dual-licensed: AGPL-3.0 for open source, personal use and research; commercial license available for proprietary use — see the repository. Gjallar is released separately under the Apache License 2.0.