Gjallar 0.6B judges whether a context supports a sentence: given the context and one sentence, it returns P(Supported), together with the probabilities that the sentence is unsupported or contradicted. It is Qwen3-0.6B with LoRA adapters trained on RAGTruth and kept separate from the base, and it is the judge called RJ in the RAGnarok Judge repository, where it was evaluated once against HHEM-2.1-Open and MiniCheck.
This needs Apple Silicon and MLX. On first use, the base model is downloaded at its pinned revision.
pip install mlx==0.32.4 mlx-lm==0.32.2 transformers==5.22.2
hf download ragnarok-ai/gjallar-0.6b --local-dir gjallar-0.6b
import sys
sys.path.insert(0, "gjallar-0.6b")
from gjallar import Gjallar
judge = Gjallar("gjallar-0.6b")
result = judge.score(context="The bridge opened to traffic in 1932, after four years of work.",
sentence="The bridge opened in 1950.")
print(result.p_supported, result.probabilities, result.flagged)
From the command line: python gjallar-0.6b/gjallar.py --context "..." --sentence "...".
score returns the following:
p_supported: the score;probabilities: Supported, Unsupported and Contradicted; the split between Unsupported and
Contradicted was not evaluated; rely on p_supported (see Limitations);flagged: true when P(Supported) is below the threshold;How it works:
gjallar.py checks the SHA-256 of the adapters
(44cdeecac3ae75c9bb53d538a14968667f9af2fa730a9dfae9477b6f2b1bed31) and the revision of the
base (c1899de289a04d12100db370d81485cdf75e47ca).Gjallar was evaluated once, on 2026-11-15, on two sets of data:
The protocol, TARGETS.md, was frozen before any training. The full results, with every
secondary measure, are in
results/RESULTS.md.
All differences are RJ minus HHEM-2.1-Open. The intervals are 95% percentile intervals from 10000 bootstrap resamples. On RAGTruth, the resampling unit is the source; out of domain, it is the document.
Claim allowed by the protocol (section 5 of TARGETS.md), quoted word for word:
no demonstrated gain on contradictions; RJ is not worse than HHEM on unsupported sentences
It is a statement about discrimination at a common specificity of 0.96 on the RAGTruth test set, against HHEM. It is also a statement about agreement with the RAGTruth labels.
These are the four tests written into the protocol before any training. Only these support a claim.
| Target | Null hypothesis | Observed | p, one-sided | Level | Outcome |
|---|---|---|---|---|---|
| P1: recall on contradicted sentences at specificity 0.96 (superiority) | Delta_C <= 0 | +0.0719 [-0.0063, +0.1704] | 0.0394 | 0.025 (Holm, second) | not met |
| P2: recall on unsupported sentences at specificity 0.96 (non-inferiority) | Delta_U <= -0.05 | +0.0853 [+0.0434, +0.1477] | 0.0001 | 0.0125 (Holm, first) | met |
| Out of domain: mean AUC ROC over the five datasets (non-inferiority) | Delta_OOD <= -0.02 | +0.0245 [+0.0142, +0.0351] | 0.0001 | 0.025, outside the Holm family | met |
| Cost: median latency per call | 0.302 s | < 1 s | met | ||
| Cost: peak memory footprint | 2.68 GB | < 3 GB | met |
P1 and P2 form one Holm family, at a family-wise one-sided level of 0.025. Cost was measured with the configuration of use: bfloat16 on MLX, adapters kept separate, one sentence per call, on 739 sentences.
The figures below have no pass or fail threshold and support no claim, even when an interval
excludes zero. MiniCheck (lytang/MiniCheck-Flan-T5-Large) is a reference, reported next to the
comparator, not a comparator itself.
On the RAGTruth test set, at a specificity of 0.9600 for each judge:
| Quantity | RJ | HHEM-2.1-Open | MiniCheck |
|---|---|---|---|
| Recall, CONTRADICTED (139) | 0.2302 [0.1481, 0.3333] | 0.1583 [0.0976, 0.2222] | 0.2230 [0.1366, 0.2917] |
| Recall, UNSUPPORTED (469) | 0.6951 [0.6163, 0.7717] | 0.6098 [0.5277, 0.6795] | 0.5629 [0.4900, 0.6301] |
| AUC ROC, without threshold | 0.8889 [0.8621, 0.9118] | 0.8615 [0.8382, 0.8823] | 0.8532 [0.8161, 0.8817] |
AUC ROC out of domain, on all 8424 inputs:
| Dataset | RJ | HHEM-2.1-Open | MiniCheck |
|---|---|---|---|
| WiCE | 0.8795 [0.8420, 0.9131] | 0.8322 [0.7874, 0.8746] | 0.8364 [0.7898, 0.8779] |
| REVEAL | 0.9500 [0.9386, 0.9601] | 0.9384 [0.9261, 0.9498] | 0.9373 [0.9252, 0.9485] |
| ClaimVerify | 0.8287 [0.8004, 0.8557] | 0.8262 [0.7933, 0.8566] | 0.8084 [0.7771, 0.8394] |
| FactCheck-GPT | 0.8501 [0.8272, 0.8722] | 0.8049 [0.7786, 0.8307] | 0.8412 [0.8185, 0.8635] |
| ExpertQA | 0.6140 [0.5900, 0.6383] | 0.5981 [0.5743, 0.6222] | 0.6177 [0.5944, 0.6415] |
| Mean of the five | 0.8245 [0.8129, 0.8355] | 0.8000 [0.7868, 0.8128] | 0.8082 [0.7954, 0.8209] |
Some of these figures look like tests but are not. The protocol tests no superiority on unsupported sentences and none out of domain:
The differences to MiniCheck, RJ minus MiniCheck, are reported alongside:
Each step was published in the GitHub repository before the next one began:
protocol-v1: the
evaluation protocol TARGETS.md, the data conversion, the analysis scripts and the reference
values of the baselines. All of it predates any training.training-plan-v1:
the training plan TRAINING.md and amendment 1 of TARGETS.md, before any training run.selection-v1: the
retained judge and the hash of its adapters, its dev threshold and its cost. All of it
predates any scoring on the test set or out of domain.results-v1: the results
of the single evaluation.Two articles give an account of the experiment: Measuring a judge before training it, on preparing the measurement, and Training on a MacBook Air, and accepting the verdict, on the training and the verdict. Both are also available in French: Mesurer un juge avant de l'entraîner and Entraîner sur un MacBook Air, et accepter le verdict.
flagged uses the dev threshold, 0.2058 (exactly 0.20575958490371704). It is a constant set
on the RAGTruth dev split and fixed at selection-v1. On the RAGTruth test set it lands at a
specificity of 0.9732 [0.9670, 0.9786].
Out of domain, recalibrate it on your own data. On the five LLM-AggreFact datasets, the same
threshold lands at a specificity between 0.63 and 0.95, depending on the dataset. Before using a
threshold, pick it on labelled sentences of your own data, at the specificity you need, and pass
it as Gjallar(threshold=...). The score itself, P(Supported), needs no threshold for ranking.
TARGETS.md. 14 of the 139 contradicted test
sentences carry an annotator note about attribution. Section 11 of TARGETS.md therefore puts
the ceiling on contradictions:Training followed TRAINING.md,
which was frozen at training-plan-v1 before any training run.
qwen3-lr3e-4/checkpoint-3462.adapter_config.json.No training, dev or test data is published, with the model or elsewhere.
vectara/hallucination_evaluation_model)
and MiniCheck
(lytang/MiniCheck-Flan-T5-Large).The adapters, gjallar.py and this card are under the Apache License 2.0 (LICENSE). The base
model is downloaded from its own repository, under its own licence. The code of the RAGnarok
Judge repository is under the GNU AGPL-3.0.
Please cite the GitHub repository at the tag results-v1:
https://github.com/2501Pr0ject/RAGnarok-Judge/tree/results-v1
@software{ragnarok_judge_gjallar,
author = {Touati, Abdelatif},
title = {{RAGnarok Judge}: Gjallar 0.6B, a sentence-level faithfulness judge},
year = {2026},
url = {https://github.com/2501Pr0ject/RAGnarok-Judge},
version = {results-v1}
}
Qwen/Qwen3-0.6B