On November 15, 2026, at 6:08 p.m. (Paris time), my judge started scoring the RAGTruth test set (Niu et al., 2024), once. The verdict fits in one sentence, written five days earlier, before any training: "no demonstrated gain on contradictions; RJ is not worse than HHEM on unsupported sentences". RJ is the judge's name in the protocol; published, it is called Gjallar 0.6B. The previous post described how its measurement was prepared. This one covers the training, on a MacBook Air, and what that verdict is worth.

In short. Demonstrated: against HHEM, Gjallar is not worse on UNSUPPORTED sentences (margin of 0.05) or out of domain (margin of 0.02 of AUC), and it meets the cost targets. Not demonstrated: superiority on contradictions. Not evaluated: the split between UNSUPPORTED and CONTRADICTED, languages other than English, stacks other than MLX.

1. A 16 GB machine as the specification

Everything ran on a MacBook Air M2 with 16 GB of unified memory, plugged in, fanless. This is not just background: every training choice follows from it.

Time, first. A full pass over the training file would have taken about 17 hours for Pleias-RAG-350M and 26 to 28 hours for Qwen3-0.6B. The plan provided for three runs of two epochs each, with four scoring passes on dev: about 39 hours in all, and that was already a scaled-down plan. And the machine heats up: after about five minutes of load, a training step takes 1.18 to 1.24 times its cold duration, then stabilizes.

Memory, next. My feasibility notes of November 10, which are not versioned, record an unpleasant discovery: the system started swapping at a footprint of 8 to 9 GB, while 70% of the memory was reported free. Qwen3-0.6B without gradient checkpointing, on the 20 longest examples, was stopped at the very first step, with a footprint of 9.13 GB. With checkpointing (Chen et al., 2016), which recomputes activations instead of keeping them, the same experiment fit in 4.78 GB. Checkpointing cuts memory by a factor of 2 to 2.5, at the cost of about 25% more time at typical lengths. It is enabled in every run.

To keep memory from silently freezing the machine, the plan sets a rule: a run saves its state and stops by itself if the swap in use grows by more than 500 MB over its value at launch. Finally, batches of four examples do not fit for Qwen3 on the longest examples: training goes one example at a time, accumulating eight examples per update.

2. Subsampling, and training only three logits

The training file holds 54,490 sentences, 91.5% of them SUPPORTED. Going through all of them twice was not feasible. So at each epoch the plan keeps all the not-supported sentences, the 917 CONTRADICTED and the 3,699 UNSUPPORTED, and draws 9,232 SUPPORTED sentences at random, renewed at each epoch: 13,848 examples, 6.6% of them contradictions.

The draw is deterministic: without replacement, from the sorted ids, with a seed that depends on the epoch number, then shuffled with the same generator. The three runs see the same examples, in the same order. The draw looks at the label only. Over two epochs, each not-supported sentence is seen twice, a SUPPORTED sentence zero, one or two times. The subsample thus keeps all the not-supported sentences and 24.6% of the tokens.

The model is not trained as a whole. The weights of the base stay frozen, and LoRA adapters of rank 8 (Hu et al., 2022) are added to every linear module of every block: 3,727,360 trainable parameters for Pleias, 5,046,272 for Qwen3.

Method · A loss on three logits. One forward pass over the prompt; at the last position, only the logits of the first tokens of the three labels are kept, converted to float32, and the loss is the cross-entropy of their softmax against the label. No other token is trained, the text of the label is not appended to the input, and there is no class weighting. This is exactly what the judge reads when it scores. It is also a matter of memory: with a cross-entropy over the whole vocabulary at every position, the footprints rose to 4.2 and 5.2 GB.

Optimization fits in one line: AdamW (Loshchilov and Hutter, 2019), a linear warm-up over 173 updates then a cosine decay to zero, the gradient norm clipped at 1.0, 1,731 updates per epoch, 3,462 per run.

3. The pilot: a silent bug, and bit-exact determinism

Before the first run, a pilot: 300 updates on Pleias-RAG-350M, with the examples, the order and the schedule of the start of run 1, without reading dev at all. Its job is to check the code on the real base, not to evaluate a model.

The most serious defect showed up before it was even launched. While checking the swap reading, I saw that it returned None under my French locale: sysctl then writes the swap with a decimal comma, used = 0,00M, which the code did not accept. No message, no error: the run would have gone on with no swap check at all. The rule meant to keep the machine from freezing was inactive, and nothing said so.

So the pilot ran with LC_NUMERIC=C in front of the command, with the rule active; no swap was used. Then the code was fixed: sysctl is called under the C locale, whatever the locale of the shell, and the reading accepts a decimal point or a decimal comma. Two tests cover it, one of which fails if the reading returns None under a French locale. The fix was committed on November 13, before run 1.

The pilot also tested resumption. The deliberate interruption was planned around update 150; it happened after update 210, because the first resume state is only written at update 200: interrupted at 150, the pilot would have had no state to resume from. It resumed from the state at update 200.

Method · Replaying bit for bit. Updates 201 to 210, done twice, before the interruption and after the resumption, are identical bit for bit: same loss, same gradient norm, same tokens. And the first 300 updates of run 1 are identical bit for bit to those of the pilot. A run that is interrupted and resumed therefore does not produce a different model, and the start of run 1 is exactly the one the pilot had checked.

The mean loss went from 3.6329 over the first 25 updates to 0.7575 over the last 25; the median gradient norm from 5.814 to 1.401. The whole pilot took 40 minutes 22 seconds, with a peak footprint of 2.86 GB and no swap. The pilot is counted neither among the configurations nor among the checkpoints, and its weights were deleted.

4. Pleias does not learn contradictions

The order of the runs was fixed: Pleias-RAG-350M at a learning rate of 1e-4, then at 3e-4, then Qwen3-0.6B at the winning rate of the first two. The learning rate is the only hyperparameter tried. Each run produces four checkpoints, each scored once on the whole dev set, with no early stopping.

Run Selection criterion (checkpoints 866 / 1,731 / 2,597 / 3,462) pAUC CONTRADICTED
Pleias, 1e-4 0.5879 / 0.5987 / 0.6038 / 0.6050 0.5156 / 0.5216 / 0.5199 / 0.5186
Pleias, 3e-4 0.5835 / 0.6030 / 0.6036 / 0.6111 0.5104 / 0.5040 / 0.5062 / 0.5154
Qwen3, 3e-4 0.6736 / 0.6836 / 0.7068 / 0.7112 0.5611 / 0.5589 / 0.5987 / 0.6108

Dev, 6,011 sentences. The criterion is the mean of the two standardized partial AUCs, UNSUPPORTED and CONTRADICTED. References on the same dev set: HHEM 0.641, MiniCheck 0.619.

Both Pleias runs improve on unsupported sentences, up to a partial AUC of 0.7068 for UNSUPPORTED. On contradictions, they do not move: their term stays between 0.50 and 0.52. The rate of 3e-4 wins (0.6111 against 0.6050), but Pleias stays below HHEM.

On November 14, before run 3, I wanted to know whether this was a bug. The check uses the training file only, with no dev or test sentence. The mapping between label, token and index was checked in the code, for both bases: it is consistent everywhere. Then 1,200 examples of epoch 1 were scored by the best Pleias checkpoint. UNSUPPORTED sentences are well learned, an AUC of 0.950 against SUPPORTED. Contradictions much less so, an AUC of 0.801: of 300 CONTRADICTED sentences, 257 are predicted SUPPORTED and only 6 CONTRADICTED, with a mean probability of 0.152 for the right label. On examples seen twice during training. The bare base, for its part, is at chance, with AUCs of 0.514 and 0.519. This is not a defect of the code: Pleias under-learns contradictions.

The fix seemed obvious: weight the CONTRADICTED class. I considered it, then set it aside for this version. The idea came from an observation on dev, that term stuck near 0.52, and it would have changed a frozen plan. Fixing a training run because you looked at dev is exactly what the freeze was meant to prevent. It is kept for a v2. The plan did not move: since their tags, the training plan has only received the pilot note, and the protocol only its first amendment.

No equivalent check was done on Qwen3, before or after its run.

5. Qwen3 learns, and the tie-break settles it

Run 3 changes the picture. Qwen3-0.6B (Yang et al., 2025) beats HHEM on dev from its first checkpoint, and its CONTRADICTED term rises to 0.6108 at the last one.

That left choosing between the two bases. Pleias started with two distinct advantages, both fixed before any run. The first comes from the training plan: two learning rates and eight checkpoints for Pleias, against one learning rate and four checkpoints for Qwen3, so the best of eight is favored over the best of four. The second comes from the tie-break rule of amendment 1: if the gap between the two best checkpoints is smaller than one standard error, Pleias, the cheaper base, is retained. The amendment, written on November 10 after the freeze and committed on November 13 at 12:39 p.m., before the pilot, declares this asymmetry as intended.

Best checkpoint Dev criterion
Pleias-RAG-350M (out of 8) 3e-4, update 3,462 0.6111 [0.5832, 0.6403]
Qwen3-0.6B (out of 4) 3e-4, update 3,462 0.7112 [0.6751, 0.7470]
Difference, Pleias minus Qwen3 −0.1001 [−0.1301, −0.0712]

Standard error of the difference: 0.0151, by a bootstrap paired over the 163 dev sources, 10,000 resamples, seed 7.

The gap is 6.6 standard errors. Despite both advantages, Qwen3-0.6B is retained, hence the name of the published model.

The three runs took 32.3 hours in all, against about 39 in the plan, over the same scope: two epochs and four dev scoring passes per run. The first took 9 hours 16 minutes, the second 8 hours 41 minutes, the Qwen3 run 14 hours 21 minutes, with a peak footprint of 3.51 GB. No resumption, and the swap rule, now active, stopped none of them.

The Qwen3 run ended on the evening of November 14, and the dev threshold of the retained judge was derived once, the same day. Before the evaluation, two checks of the scoring harness: 50 dev sentences scored again, identical to the scores of the run (maximum difference zero), then deleted without any dev value being computed; 50 training examples, identical as well. The training and selection results were committed on November 15, then frozen at the selection-v1 tag at 6:06 p.m. Scoring of the test set started at 6:08 p.m.

6. Why the adapters stay separate

The adapters could be merged into the weights of the base, to publish a model in one piece. The plan measured this before deciding. With adapters drawn at random, on 50 training examples, the merge itself is exact in float32, to within 2e-5. But once the merged weights are rounded to bfloat16, the score moves away from that of the base with separate adapters by up to 0.002 for Pleias, and up to 0.11 for Qwen3. With trained adapters, the difference changes scale: on Pleias, with the trained adapters of the pilot, it reaches 0.1534 at most, 0.1140 on average, against 0.002 with random adapters on the same base.

A difference of that order on a score between 0 and 1 amounts to a different judge. The plan says it in one sentence: "A merged judge would not be the one that was selected." So from selection to publication, the judge is the base in bfloat16 carrying the separate adapters. The merge drift was not measured with the retained Qwen3 adapters, since no merged version was produced.

Separate adapters come at a price. On November 13, on 60 training sentences, scoring with separate adapters took 1.28 times the time of the base alone for Qwen3, and 1.29 times for Pleias: a ratio of durations, on the same sentences, on the same day.

That choice fits within the budget. The cost of the retained judge was measured on November 15, before the evaluation, in its configuration of use: 739 sentences, one per call, cache released after each call. A median latency of 0.302 s against a target below 1 s, a peak footprint of 2.68 GB against a target of 3 GB, a margin of 0.32 GB. An input of 4,096 tokens takes 3.011 s. No thermal warning, before or after. One caveat: the 15 minutes of rest planned before the measurement were not timed.

7. The verdict

The evaluation took place once: 10,385 test sentences scored out of 10,385, 8,424 out-of-domain inputs out of 8,424, no failure, with the same configuration as for dev. No re-evaluation.

Target Null hypothesis Observed (RJ minus HHEM) p Level Outcome
P1, contradictions (superiority) Δ ≤ 0 +0.0719 [−0.0063, +0.1704] 0.0394 0.025 not met
P2, unsupported sentences (non-inferiority) Δ ≤ −0.05 +0.0853 [+0.0434, +0.1477] 0.0001 0.0125 met
Out of domain (non-inferiority) Δ ≤ −0.02 +0.0245 [+0.0142, +0.0351] 0.0001 0.025 met
Cost 0.302 s; 2.68 GB < 1 s; < 3 GB met

RAGTruth test set at 0.9600 specificity for P1 and P2; mean AUC over five LLM-AggreFact datasets out of domain. Holm procedure (1979) over P1 and P2.

The table of claims, written before any training, leaves only one possible row: "no demonstrated gain on contradictions; RJ is not worse than HHEM on unsupported sentences".

P1: a positive difference, not a proof

Of the 139 contradictions in the test set, Gjallar detects 32, a recall of 0.2302 [0.1481, 0.3333], against 22 for HHEM (0.1583) and 31 for MiniCheck (0.2230; Tang et al., 2024). "Detect" here means being flagged as not supported, because the P(Supported) score falls below the threshold, not being classified as CONTRADICTED: the split between UNSUPPORTED and CONTRADICTED was not evaluated. The difference with HHEM is positive, +0.0719, but the interval contains zero. The previous post said so in advance: to conclude, an observed gain of about +0.10 was needed. I expected the test to be inconclusive on contradictions; that is what happened.

One detail worked in my favor, without being enough. The power calculation had been made with the HHEM-MiniCheck pair, whose recalls on contradictions did not move together from one resample to the next: it derived a standard error of 0.051 for the difference. Between RJ and HHEM, those recalls turned out to be correlated, at 0.42: when one rises in a resample, the other tends to rise too, and their difference varies less. The observed standard error is 0.0451. The test was therefore a little more sensitive than expected, but not enough: p = 0.0394, above the level of 0.025.

Alongside, and outside any claim, the difference with MiniCheck on contradictions is +0.0072 [−0.0853, +0.1364]: on this class, my judge roughly ties with a verifier whose published training data does not include RAGTruth.

P2 and out of domain, met

Of the 469 UNSUPPORTED sentences, Gjallar flags 326, a recall of 0.6951 [0.6163, 0.7717], against 286 for HHEM (0.6098): non-inferiority is demonstrated, with a margin of 0.05. Out of domain, the mean AUC is 0.8245 against 0.8000 for HHEM. The protocol allows this to be said, and only this: "out of domain, RJ separates supported from not supported sentences no worse than HHEM, within 0.02 of AUC". On the subset of inputs that neither RJ nor HHEM truncates, the difference is +0.0215 [+0.0109, +0.0318]. That subset holds 8,114 inputs: HHEM truncates 307, RJ 282, 3 of which HHEM does not truncate, so 310 inputs are set aside.

Method · Protocol conclusion, or descriptive figure. Only four outcomes are conclusions: P1 and P2, the out-of-domain target and cost. Everything else is descriptive, and the results file says so: "These figures have no pass or fail threshold and support no claim, even when an interval excludes zero." Two figures look like tests and are not. The out-of-domain difference is above zero, but, as the results file puts it, "The protocol does not test superiority out of domain, so this is not a claim that RJ separates better than HHEM." And on unsupported sentences, the p-value against a zero difference, 0.0002, does not demonstrate a gain: the protocol only tested non-inferiority.

A few descriptive figures, for context. The overall ROC AUC on the test set, supported sentences against not-supported sentences of both classes, on raw scores, is 0.8889 [0.8621, 0.9118]. The selection criterion there is 0.7176, against 0.7112 on dev. Leaving aside the 14 contradictions with an attribution error note, the recall is 0.2560, against 0.1600 for HHEM. The 66 abstentions in the test set, all SUPPORTED, are all let through, as with HHEM.

A warning, above all, for anyone who wants to use it. The threshold set on the RAGTruth dev set holds on the test set (specificity of 0.9732), but not out of domain: there it gives a specificity of 0.63 to 0.95 depending on the dataset, lower than HHEM's on each one. And ExpertQA stays at an AUC of about 0.61 for all three judges. A threshold has to be recalibrated on your own data.

The results were committed the same evening and frozen at the results-v1 tag at 9:39 p.m. A time error, spotted later, was corrected by a dated erratum, without touching the original sentence.

8. Publishing, and checking what is published

The plan provided for publishing the retained adapters whatever the result, with the name and the pinned revision of their base, under the license of the base. The ragnarok-ai/gjallar-0.6b repository was published on November 16: the adapters, their configuration, gjallar.py to use them, the Apache 2.0 license and a model card. The SHA-256 of the published adapters is the one recorded at the selection-v1 tag.

An identical hash guarantees the file, not the code that reads it. So I downloaded the repository from the Hub, as a user would, and used that gjallar.py to score the first 50 examples of epoch 1 of the training set. The three probabilities are identical bit for bit to those of the evaluation code, for all 50 examples. Only the training file was read, neither dev nor test. The check is recorded in the RAGnarok-Judge repository.

9. Limitations, and what a v2 would be

What Gjallar 0.6B does not do, the model card states:

  • Contradictions. At a specificity of 0.96, most contradicted sentences are not flagged. And only P(Supported) was evaluated: the split between "unsupported" and "contradicted" was not.
  • The stack. MLX on Apple Silicon only. No merged version and no version for another stack has been evaluated.
  • Language. English only.
  • Domains. ExpertQA stays at an AUC of about 0.61, and out of domain 282 inputs were truncated at 4,096 tokens.
  • Labels. The results measure agreement with the RAGTruth labels, whose noise the previous post showed.
  • What was not measured. No training-set check for Qwen3, and no measurement of the merge drift with the retained adapters.

A v2 would start with what this version did not allow itself:

  • Weighting the CONTRADICTED class, the idea set aside on November 14.
  • Synthetic contradictions: negations, swapped entities or numbers, reversed order, and the assembly errors of post 4, where every piece is in the context but the whole contradicts it.
  • More data and more epochs.
  • Passing the question to the judge, so that it can finally check an abstention.
  • Evaluating the split between "unsupported" and "contradicted", running on Qwen3 the check done on Pleias, and measuring the merge drift with the retained adapters.
  • A PyTorch version, a demo, and integration into RAGnarok-AI.
  • A new frozen protocol, with test data the v1 did not use: the RAGTruth test set has now been used.

10. End of the series

This series came down to one question: how do you prepare a measurement that can prove you wrong? On contradictions, it proved me wrong, roughly as I had predicted. On unsupported sentences and out of domain, it concluded in my favor, within the exact limits of what the protocol allows me to write: not worse than HHEM.

A 0.6-billion-parameter judge, retained after 32 hours of runs on a laptop with no fan, is not worse than HHEM on unsupported sentences. It is not the sentence I would have liked to write at the start. It is the one I was allowed to write, and I am writing it as it stands.

Reproducibility. Everything is in the RAGnarok-Judge repository: the training plan with the pilot note, the training and selection results (tag selection-v1, including the declarations made before the evaluation), the results (tag results-v1) and the publication record. The model is on Hugging Face. Only aggregates are published: no text, no label, no per-sentence score of RAGTruth or LLM-AggreFact.

References

  • Chen, T., Xu, B., Zhang, C. and Guestrin, C. (2016). Training Deep Nets with Sublinear Memory Cost. arXiv:1604.06174
  • Holm, S. (1979). A simple sequentially rejective multiple test procedure. Scandinavian Journal of Statistics, 6(2), 65-70. JSTOR 4615733
  • Hu, E. J., Shen, Y., Wallis, P., et al. (2022). LoRA: Low-Rank Adaptation of Large Language Models. ICLR 2022. arXiv:2106.09685
  • Loshchilov, I. and Hutter, F. (2019). Decoupled Weight Decay Regularization. ICLR 2019. arXiv:1711.05101
  • Niu, C., Wu, Y., Zhu, J., Xu, S., Shum, K., Zhong, R., Song, J. and Zhang, T. (2024). RAGTruth: A Hallucination Corpus for Developing Trustworthy Retrieval-Augmented Language Models. ACL 2024, 10862-10878. doi:10.18653/v1/2024.acl-long.585
  • Tang, L., Laban, P. and Durrett, G. (2024). MiniCheck: Efficient Fact-Checking of LLMs on Grounding Documents. EMNLP 2024, 8818-8847. doi:10.18653/v1/2024.emnlp-main.499
  • Yang, A., Li, A., Yang, B., et al. (2025). Qwen3 Technical Report. arXiv:2505.09388