Skip to content

Bespoke Nimble: data, model and recipe for an open Jev

Skip →Perplexity Decider
Decisions stage 2 #5corefrontiertoolrubric 9/122026 · ~50 min

Bespoke Labs (Shreyas Pimpalgaonkar, Pratik Dalal, Maheswaran Sathiamoorthy)

Read first: Introducing System One Models and Jev · Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inference · On Calibration of Modern Neural Networks · Statistics and judge calibration for search and RAG evaluation

Status

TL;DR. Days after TypeSafe released Jev, Bespoke Labs released Nimble (Sep 18 2026): a LoRA adapter on Qwen3.5-9B that, given a text context and a flat schema of Choice, Noul (true/false) and Score fields, returns the picked answer and a probability for every allowed answer, without generating any text. Unlike Jev, the repo releases the whole recipe: the 2,676 training and 324 held-out examples, the curation pipeline that made them, the training command, the scorers, and a temperature fit. The data idea is contrastive curation: pairs of examples that differ in one fact of at most eight words, so the label flips. On its own synthetic holdout Nimble matches 90.1% of reference labels, against 66.4% for the base model and 93.2% for Jev 1.13.0. On 13 human-labelled public subsets it is 1.2 macro points behind Jev. The authors say they “did not distill from Jev” and built Nimble “in one day”.

Why it matters now. Jev’s method is closed, and Perplexity Decider and Sarvam Prism publish weights and readouts but not the full data pipeline. Nimble makes an unusually complete small-model case study: released examples, curation checks, the training command, inference code and a calibration procedure. This page follows the original 2,676-example recipe; later checkpoints should not inherit its evidence or temperature by default. The steps are ones an IR person already knows: a label-token readout (as in monoT5), hard negatives, group-level splits, and post-hoc calibration. Perplexity’s Decider v1 card says its training data was built with Nimble’s converters, so the recipe also fed a later model.

First read. Read the TL;DR, the three mechanism parts of Key idea (readout, data, training), the temperature worked example, and the 324-example caveats. Skip on a first read: the “Versions after v1” table and the detailed latency comparisons. Return to them only when choosing a checkpoint or serving backend.

Nimble is three separate decisions: how to read an answer out of a language model, what data to train on, and what loss to use. Each is simple; the interest is in why each was chosen.

1. The readout: one token per answer, softmax over allowed tokens only

Section titled “1. The readout: one token per answer, softmax over allowed tokens only”

In plain words: show the model the options under short labels A, B, C…, then look at how much the model “wants” to write each label as its next token, ignore every other token, and normalise. That is the LM-as-classifier readout monoT5 uses with its “true” token, generalised to any number of options.

The prompt contains instructions, the context, every field’s description and the code-to-choice map. For field ff with KK allowed answers, let c1,…,cKc_1,\dots,c_K be their code tokens and zkz_k the logit (the raw pre-softmax score from the model’s output layer) for token ckc_k at the answer position. The answer distribution is a softmax over the allowed codes only, divided by a temperature TT:

p(k∣context,f)=exp⁡(zk/T)∑j=1Kexp⁡(zj/T),y^=arg⁡max⁡k p(k).p(k \mid \text{context}, f) = \frac{\exp(z_k / T)}{\sum_{j=1}^{K} \exp(z_j / T)}, \qquad \hat{y} = \arg\max_k \, p(k).

The code then maps y^\hat{y} back to the enum string or the JSON boolean in Python, so no generated JSON is ever parsed. For a Score field with levels 0,…,L−10,\dots,L-1 the application can also compute the expected level E[ℓ]=∑ℓℓ p(ℓ)\mathbb{E}[\ell] = \sum_\ell \ell \, p(\ell); the model card’s score_fields option returns it.

Why one-token codes? An option such as “HIGH” may share its first tokens with “HIGHEST”, so first-token probabilities would not separate them and full-sequence probabilities would need one forward pass per option. With one code per option every candidate is exactly one logit in one forward pass. The original contract used A–Z (1 to 26 choices). The v2 and latest checkpoints extend this to 255 choices by reusing other existing uppercase tokens that are each checked to be one token, with no new embeddings; the v2 card notes the largest choice set seen in training was 24, so wide schemas are supported but not measured.

Two scorers. Each field is scored as its own question; one field never sees another’s answer, so consistency between fields is your code’s job.

  • The CUDA scorer builds the full prompt once per field and runs it end to end.
  • The MLX ParallelScorer (Apple Silicon) puts everything shared into one prefix, finds the exact common token prefix, prefills it once, and then runs all short field suffixes in one batched call against copies of that cache. Qwen3.5 is a hybrid model, so the cached state includes the recurrent and convolution states of its linear-attention layers as well as the usual attention KV cache. It projects final hidden states only onto the rows of the output head for allowed code tokens, never the full 248,320-token vocabulary.

The IR analogy is amortizing a shared document computation across several scores. Unlike a bi-encoder document vector, this cache contains token-level transformer states and already includes every field’s schema. The suffixes can interact with that prefix; changing the shared schema can invalidate reuse.

The problem the README states plainly: there are no teacher probabilities, from a model or from people, yet the goal is logits that behave like probabilities. Their answer is to make discrimination hard. Each training item is one of a pair of examples that are identical except for one focus fact, and that fact flips the answer. The README’s example: the policy is that a refund needs a sole authorisation signed by someone allowed to approve refunds for that account.

EvidenceFirst exampleChanged example
Who can approveOnly Mira may authorize refunds for account 42.unchanged
Authorization record… was signed by Mira.… was signed by Noah.
Refund authorized?truefalse

The four-step pipeline:

  1. Check the rules. From a training source’s schema and policy, write down the basic facts the rules depend on and check the rules can lead to different answers.
  2. Build the pair. Write two evidence sentences that are both needed for the answer, then change at most eight words in one of them so that the focus fact, and the label, changes. Python applies the edit, so the rest of the context, the question and the candidate labels stay fixed.
  3. Check both examples. Separate model calls check the facts, consistency with the policy, and that nothing hints at the answer. Then each evidence sentence is deleted in turn: with either one gone, the focus fact must become unknown even with all other text present.
  4. Make labels in code. Python applies the checked rules to the checked facts. A pair is kept only if every check passes and the two labels differ. All requests and responses are saved, so the run replays offline.

Two design choices matter most:

  • Deletion variants are checks, not training rows. For Nimble’s policy judgments, missing evidence does not mean “false” or “low score”; training on them would teach a closed-world assumption (for an answerability question such as SQuAD 2.0’s, by contrast, absent evidence does mean “no”). IR has the same trap: an unjudged document is not a non-relevant one.
  • Splits are by source family. A family is all examples built from one training source. Both pair members and the whole family go to the same side. All 34 training families are disjoint from the holdout’s families, and verify_dataset rejects any overlap of families, sources, contexts or IDs. This is the learning-to-rank rule of splitting by query, not by (query, document) pair.

The lineage is Bespoke-MiniCheck, a fact-checking model that already returned one probability for “is this claim supported” from a single-token readout. The curation guide calls Nimble’s checks an adaptation of MiniCheck’s construction ideas (arXiv 2404.10774, §3.1–3.2), not a reproduction.

3. Training: LoRA, cross-entropy over allowed codes, hard labels

Section titled “3. Training: LoRA, cross-entropy over allowed codes, hard labels”

LoRA (low-rank adaptation) keeps the base weights frozen and learns small low-rank updates to selected linear layers. Here rank 16 sets the update’s bottleneck width. The released trainer targets language-model linear layers, not just the final answer-token rows; candidate-only refers to the loss, not to which backbone computations are adapted.

The contrast is in the data, not in a pairwise loss: each member is a separately supervised training row. The trainer does not pull two embeddings together or optimize an explicit difference between the pair’s scores.

The loss for one example with gold answer yy is the negative log of the masked softmax above (at T=1T = 1):

L=−log⁡p(y)=−zy+log⁡∑j=1Kexp⁡(zj),∂L∂zk=p(k)−1[k=y]  for allowed k.\mathcal{L} = -\log p(y) = -z_y + \log \sum_{j=1}^{K} \exp(z_j), \qquad \frac{\partial \mathcal{L}}{\partial z_k} = p(k) - \mathbb{1}[k = y] \ \text{ for allowed } k.

In words: push the gold code’s logit up and the other allowed codes’ logits down in proportion to how much probability they took. The loss has zero direct derivative with respect to non-candidate output logits at this position. Gradients still flow through the shared backbone adapters, so training can change those other logits indirectly. Generated reasoning and Jev’s probabilities are never used as targets (saved Jev probabilities are kept only for possible future soft-target distillation).

The published recipe: LoRA rank 16 on Qwen3.5-9B, learning rate 5e-5, effective batch 8 (2 × 4 gradient accumulation), seed 17, BF16, 2,048-token prompts, one epoch (335 optimizer updates for 2,676 examples). The schedule is the linear schedule chosen for three epochs (1,005 steps, 101 warm-up), stopped after the first. So training stops while the learning rate is still high (about 3.7e-5, if the linear decay runs to zero at step 1,005). Tuning ran on L40S; the final fit on H100.

Temperature: what it moves and what it cannot

Section titled “Temperature: what it moves and what it cannot”

Dividing all logits of a field by the same T>0T > 0 preserves their order, so the argmax, and hence accuracy, cannot change. It moves the probabilities: T>1T > 1 flattens them. Bespoke fitted one TT for the original release (revision 93ec5d6): minimise log loss on one set of 300 examples, then keep the value only if, on a second, different-source set of 300, log loss went down and Brier did not go up (a rule fixed before the check). The result is T=2.179T = 2.179.

Worked example. A Noul field with logits ztrue=3.0z_{\text{true}} = 3.0, zfalse=0.0z_{\text{false}} = 0.0. With two options, the softmax reduces to the sigmoid of the logit gap: σ(x)=1/(1+e−x)\sigma(x) = 1/(1 + e^{-x}), so P(true)=σ((ztrue−zfalse)/T)P(\text{true}) = \sigma((z_{\text{true}} - z_{\text{false}})/T).

  • T=1T = 1: P(true)=σ(3.0)≈0.953P(\text{true}) = \sigma(3.0) \approx 0.953.
  • T=2.179T = 2.179: P(true)=σ(3.0/2.179)=σ(1.376778)≈0.798P(\text{true}) = \sigma(3.0 / 2.179) = \sigma(1.376778) \approx 0.798.

Both pick true. But a pipeline that auto-approves at P≥0.9P \ge 0.9 approves at T=1T = 1 and escalates at T=2.179T = 2.179. For a Score field with levels 0, 1, 2 and logits (0, 2, 1), the probabilities go from (0.090, 0.665, 0.245) to (0.197, 0.492, 0.311) and the expected level from 1.15 to 1.11, towards the middle of the scale. Same answer, different thresholds: this is why the README says to re-test any threshold.

The 324-example holdout (synthetic labels)

Section titled “The 324-example holdout (synthetic labels)”
ModelMatchesAgreement
Gemma 3 270M IT93/32428.70%
Qwen3.5-0.8B147/32445.37%
Qwen3.5-4B199/32461.42%
Qwen3.5-9B (base)215/32466.36%
Qwen3.8-27B (untuned)275/32484.88%
Bespoke-Nimble-9B292/32490.12%
Jev 1.13.0302/32493.21%

The holdout is 146 Choice, 114 Noul and 64 Score items from six of the ten training categories (Public services 106, Education 70, Commerce 58, Media 44, Supply chain 30, Travel 16). The training set is 856 Choice, 888 Noul and 932 Score items across all ten.

How much can 324 items say? If the items were independent Bernoulli trials, 95% Wilson intervals would be 86.4%–92.9% for Nimble and 89.9%–95.5% for Jev. They are not independent: the 324 items form 162 minimal pairs within six source families. Dividing both successes and trials by two gives hypothetical effective-sample-size calculations, not measured pair-level intervals. A pair’s mean correctness can be 0, 0.5 or 1; the published totals do not reveal how often both members were right. For a within-item model comparison, the discordant correctness counts are needed: exact McNemar pp is 0.00195 for 10 versus 0 and 0.09874 for 20 versus 10, despite the same ten-item accuracy gap. Those tests still assume independence across the tested units. Use paired predictions and resample intact pairs or source families according to the intended generalization target; only six families make cross-family uncertainty difficult to estimate. The observed 23.77-point improvement over the base model is substantial on this set, but neither that gain nor the Jev–Nimble ordering establishes performance on new domains.

To reproduce the illustrative iid interval, set p^=k/n\hat{p} = k/n and z=1.96z = 1.96. Its center is (p^+z22n)/(1+z2n)\left(\hat{p} + \frac{z^2}{2n}\right) / \left(1 + \frac{z^2}{n}\right) and its half-width is zp^(1−p^)n+z24n2 / (1+z2n)z\sqrt{\frac{\hat{p}(1-\hat{p})}{n} + \frac{z^2}{4n^2}} \,/\, \left(1 + \frac{z^2}{n}\right). This formula is not a correction for clustering; see statistics and judge calibration for paired and clustered alternatives.

SetMeasureT = 1T = 2.179
Second set (300)ECE0.1280.066
Second set (300)Log loss0.6920.555
Second set (300)Brier0.3480.295
Holdout (324)ECE0.0520.054
Holdout (324)Log loss0.3180.259
Holdout (324)Brier0.1540.144

ECE (expected calibration error) uses ten confidence bins and averages their absolute confidence–accuracy gaps, weighted by bin size. Of the second set’s 300 examples, 24 have reference probability distributions; ECE excludes those 24. Log loss and Brier use those reference distributions where supplied and one-hot labels otherwise. Brier is the sum of squared differences across candidate probabilities, averaged over examples. At T=1T = 1 the second set shows the problem: mean top probability 0.89, accuracy 73% (220/300). The fit fixes that, leaves holdout ECE flat, and hurts the 64 rating questions (ECE 0.105 → 0.177): they become under-confident. One global TT cannot fit task types that start in different places.

Public, human-labelled suite (13 subsets, 3,880 records)

Section titled “Public, human-labelled suite (13 subsets, 3,880 records)”

Edgar Dyck’s suite runs Nimble and Jev on the same records from 13 public subsets, none in Nimble’s training categories, with criteria written once before any run. Nimble ran at T = 1 (the temperature fit came later).

GroupNimble macroJev 1.13.0 macro
All 1374.8%76.0%
Choice (5)81.6%82.9%
Noul (5)80.2%84.6%
Score (3)54.6%50.1%

Five subsets have unadjusted, record-level exact McNemar p<0.05p < 0.05: four favour Jev (Civil Comments 70.3 vs 81.0, PAWS 82.8 vs 89.2, MASSIVE German 83.4 vs 86.9, VitaminC 76.6 vs 80.1) and one favours Nimble (SummEval relevance 49.2 vs 35.0, but from only 15 articles). Switching the same 350 MASSIVE utterances from English to German costs Nimble 12/350 = 3.43 percentage points (18 versus 6 discordant, exact p=0.02266p = 0.02266), and Jev 2/350 = 0.57 points (11 versus 9, p=0.82380p = 0.82380). Jev has lower ECE on 11 of 13 subsets. Jev’s log loss is not comparable because its API rounds probabilities to two decimals, so a 0.00 becomes a huge penalty. Macro accuracy gives each subset equal weight rather than each record. These 13 comparisons are exploratory: article/passage clustering and multiple testing matter, and some datasets may have appeared in backbone pretraining. Human annotations are an external reference, not infallible truth.

ModelHardwareMedianp95
Qwen3.5-9B (untuned)H10058.175.8
Bespoke-Nimble-9B (120 examples)H100106.0119.8
Bespoke-Nimble-9BM5 Pro 64 GB444.0981.0
Jev 1.13.0TypeSafe API246.7347.4
DeepSeek-V4.1-Flash, generating (100, other dataset)OpenRouter2,896.415,065.4

These come from different runs, not a controlled serving test. The multi-field speed-up is a separate MLX benchmark with the 4B baseline on an M5 Pro: with 8 fields and a 1,953-token prefix, shared-prefix scoring takes 0.853 s against 6.180 s for independent prompts (7.25×), and most of that gain is from not repeating the prefill. With one field it is slower (0.74×).

ReleaseWhat changed (per README and model cards)
v1, Sep 18 (original-2676 tag)2,676 training examples, A–Z codes, 2,048-token training prompts, Apache 2.0. T = 2.179 fitted Sep 22.
Latest Bespoke-Nimble-9B, Sep 24New checkpoint, 8,192-token context, up to 255 choices, T = 1.0 with no fit; the card warns not to reuse 2.179. Its training data is not described.
v2 (Ollama Sep 29)Trained on 2,826 examples (150 not released), 8,192-token contract, 255-choice serving. Uses the transferred T = 2.179 by default, not a v2 fit; raw probabilities need an explicit opt-in.
v3, Oct 6CC BY-NC 4.0 adapter, no recipe given. Card: Decision Index 0.2.1 score 56.88 (Bespoke’s run). README chart: 54.7, top open model under 25B, behind Jev at 60.1.
v4 (9B), v4-max (27B), Oct 13API only, no weights. Bespoke’s own Oct 12 run on the Decision Index public suite: 63.70 and 68.46, vs Jev 1.13 57.96 and Decider v1.1 62.25. Self-reported, not yet on the dashboard.

So the open recipe on this page is v1’s. Later versions improve on the leaderboard, but their data and training changes are not documented.

  • Synthetic labels, one pipeline. A model generated and checked every training and holdout label; no person reviewed them. The README notes separate calls to the same model can make the same mistake, and the original training and evaluation data were both generated with GPT-5.6 Sol. The holdout measures agreement with the pipeline.
  • Narrow, reused holdout. Six families, 162 pairs, and (per the v2 card) inspected repeatedly across development runs, which limits its independence.
  • Calibration is release-specific. Only v1 has a fitted temperature; the latest checkpoint is at T = 1; v2 borrows v1’s value. The fit was done on the unmerged CUDA path and not rechecked on the merged weights the quickstarts and API use.
  • Position bias unmeasured. Codes are tied to option order and the suite’s shuffle option has not been run.
  • Context limits. Training used 2,048-token prompts; the 8,192 limit is a serving limit, and the README says shorter prompts are better tested.
  • Comparisons mix runs. The 324-item Nimble numbers reuse an earlier H100 run with a BF16 output layer, while untuned models were scored in FP32; one base-model tie flipped (214 → 215) on rerun.
  • v4 numbers are vendor-run. Treat them like any self-reported leaderboard result (see decision benchmarks).

The cheapest useful step needs no GPU: clone the repo and run python -m nimble.training.verify_dataset to see the checksum, count and family-disjointness checks, then read a few pairs in data/train.jsonl. Scoring the model needs a BF16 NVIDIA GPU or an Apple Silicon Mac with enough memory for the 18 GB of 9B weights; the README quickstart covers both.

  • Explain how a single-token code readout with a masked softmax turns a causal LM into a typed classifier, and why multi-token option strings are avoided.
  • Write the cross-entropy over allowed logits and its gradient, and say what minimal pairs add that unpaired examples do not.
  • Justify why evidence-ablated examples are checks rather than “false” labels, and why splits are by source family.
  • Compute how a temperature changes a Noul probability and a Score expected level while leaving the argmax fixed, and say when a global temperature backfires.
  • State what 292/324 vs 302/324 on 162 synthetic pairs from 6 families can and cannot support, and what paired data would settle it.

Questions to think through

These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.

  1. Derive / compute

    Nimble's original release divides candidate logits by a fitted temperature T = 2.179 before the softmax. (a) A Noul field has logits 3.0 for true and 0.0 for false. Compute P(true) at T = 1 and at T = 2.179. Your pipeline auto-approves when P(true) ≥ 0.9; what happens to this item? (b) A three-level Score field (levels 0, 1, 2) has logits (0, 2, 1). Compute the level probabilities and the expected level at both temperatures. (c) Explain why the argmax is identical in both cases but a threshold on P or on the expected level is not.

    What a strong answer covers
    • (a) T = 1: P = σ(3.0) ≈ 0.953, so it is auto-approved. T = 2.179: P = σ(3.0/2.179) = σ(1.376778) ≈ 0.798, so it is now sent for review. Nothing about the model's ranking changed.
    • (b) T = 1: probabilities ≈ (0.090, 0.665, 0.245), expected level = 0.665 + 2·0.245 ≈ 1.15. T = 2.179: ≈ (0.197, 0.492, 0.311), expected level ≈ 1.11. Higher T pulls the expected level towards the middle of the scale.
    • (c) Dividing every logit by the same positive T keeps their order, so the top code (and the 292/324 held-out matches) cannot change. Probabilities and any expectation over them move, so thresholds must be re-tuned, as the README warns.
    • The second set's ECE improves from 0.128 to 0.066, but that ECE excludes 24 distribution-labelled cases. On the 64 holdout Score items it rises from 0.105 to 0.177: a single fitted temperature need not improve every subgroup or metric.
  2. Critique

    Nimble matches 292/324 synthetic reference labels, Jev 302/324, and the base model 215/324. These are 162 minimal pairs from six source families. Compute illustrative iid Wilson intervals for Nimble and Jev. Why can you not obtain pair-level intervals by replacing the counts with 146/162 and 151/162? Two possible discordance tables are 10 versus 0 and 20 versus 10: compute their exact McNemar p-values, then design an uncertainty analysis for new examples and for new source families.

    What a strong answer covers
    • Iid Wilson intervals are 86.39%–92.92% and 89.93%–95.47%; their overlap does not settle a paired comparison.
    • Pair means can be 0, 0.5 or 1. Completely correct pair counts are unknown: Nimble permits 130–146 and Jev 140–151. Halving counts is not a cluster correction.
    • Exact two-sided p-values are 0.001953 and 0.098737. McNemar uses discordant correctness, and its usual exact test still requires independent tested units.
    • Obtain per-item predictions with pair and source-family IDs; resample paired model differences at the appropriate cluster level. There are six source-family clusters, not six independent Bernoulli observations; six families and four missing categories cannot support broad domain-generalization claims.
    • The base-model gain is a large observed effect on this synthetic set. Fresh human-labelled, family-disjoint data is needed to establish deployment performance, with untouched test data and uncertainty around the public-suite gap.
  3. Mechanism

    Nimble shows each allowed answer under a one-token code and trains with cross-entropy over the allowed candidate logits only, using hard labels and no teacher probabilities. Its data consists of minimal pairs that differ by at most eight words in one evidence sentence and have different labels. Explain, at the level of the loss gradient and of what features can explain the labels, why this combination should improve discrimination and why the authors expected it to help calibration. Then explain why it did not make the raw probabilities calibrated out of domain.

    What a strong answer covers
    • With a masked softmax over the K allowed codes, ∂L/∂z_k = p_k − 1[k = gold] for allowed k and zero for every other vocabulary logit at that position. The loss only separates the candidates; other logits can still move indirectly, because the LoRA updates are in the shared backbone.
    • Single-token codes make each candidate one logit, avoiding the ambiguity of multi-token option strings that share a prefix; the output JSON is assembled in Python, so there is nothing to parse.
    • Features unchanged within a pair cannot by themselves explain its different labels. However, a token introduced by the edit, answer-position bias, or a generator artifact can still become a shortcut across pairs. Minimal pairs make evidence sensitivity testable; they do not prove the model learned the intended rule. As hard negatives, they put large gradients near the decision boundary.
    • Hard-label cross-entropy is a proper scoring rule, so confident wrong answers on near-duplicates are penalised heavily; the README says negative examples force the model "to become a better discriminator", which they hope yields calibrated logits.
    • Expected cross-entropy is minimized by the reference-label conditional distribution in the ideal well-specified population problem. Finite data, model restrictions, optimization and synthetic-label errors can prevent calibration even in distribution; distribution shift adds another failure mode. On a different 300-example set the raw model averaged 0.89 confidence but was right 73% of the time, so a post-hoc temperature (2.179) was still needed.
  4. What if…

    Consider three changes to Nimble's pipeline: example-level instead of family-level splitting; training on evidence-deleted variants with label false or the lowest score; and replacing the paired examples with 2,676 unpaired examples. For each, distinguish a likely effect from a result actually measured in the repo. For deletion labels, compare the original policy judgment with SQuAD 2.0's answerability schema. What evaluation would distinguish useful regularization from label noise or leakage?

    What a strong answer covers
    • (1) Pair siblings and same-family contexts would land on both sides; the eval would see near-copies of training text with known labels, which can inflate held-out accuracy without improving real generalisation. The verifier rejects shared families, sources, contexts or IDs for this reason.
    • (2) Deletion makes the original focus proposition unknown according to the curation checks; it does not supply a false policy label or a valid ordinal score. For an answerability predicate, however, absent required evidence correctly yields false. Relabel according to the actual question.
    • Separate the roles of deletion tests, training augmentation and final evaluation. Verifier-approved deletion checks are evidence of construction quality, not a proof that every possible shortcut is absent.
    • (3) Without the paired counterfactual, shortcuts such as domain or wording can explain labels; expect lower accuracy on adversarial sets like PAWS and VitaminC and more over-confidence. The repo reports no unpaired baseline, so this is a prediction to test, not a result.
  5. Design

    Your search team wants an in-house Nimble-style model for RAG filtering: for each (query, passage) pair, three fields (answerable from passage: Noul; passage type: Choice over 6 types; usefulness: Score 0–3). You have an LLM budget for about 3,000 curated examples, 400 human-labelled pairs, one H100, and a 150 ms per-pair latency budget. Specify how you would curate, split, train, calibrate and serve, using Nimble's recipe and its known weak points. In particular, is the published serving evidence sufficient to promise 150 ms for all three fields on your H100?

    What a strong answer covers
    • Curate minimal pairs per source family: two required evidence sentences, an edit of a few words that flips the focus fact, separate verification calls, deletion checks, and labels derived in code. Split by family (for search: by query or topic) and keep pairs together.
    • Train LoRA (r 16, lr 5e-5, batch 8, one epoch is the published setting) with cross-entropy over the allowed code logits; tune only on family-held-out training data, never on the final holdout.
    • Reserve a final query/topic-disjoint human test set that is not used to fit temperatures or select thresholds. Use the remaining labels for fitting and validation, keeping paired observations together; with only 400 labels, compare a shared temperature with per-field fits rather than assuming the latter are reliable.
    • The 106 ms H100 median is for one field. The released CUDA scorer repeats the prompt for three fields, so three similar serial calls would be roughly 318 ms before other overhead, not a demonstrated 150 ms service. The 2.2× result is for a 4B MLX model on a Mac and cannot establish H100 latency. Benchmark the three-field end-to-end path, then change the serving implementation, model or latency requirement if necessary.
    • Check option-order bias by shuffling choices (unmeasured in the repo), and enforce consistency between fields in code, because each field is scored independently.
  6. Connect

    Relate Nimble's contrastive data curation to two IR ideas: hard-negative mining for dense retrievers, and instruction negatives in Promptriever. Also relate its family-level split to how learning-to-rank datasets are split. Where does the analogy hold exactly, and where does it break?

    What a strong answer covers
    • Hard negatives: a negative close to the positive gives a large, informative gradient. A Nimble pair is the decision analogue: same context and question, one fact changed, opposite label.
    • Promptriever generates passages that match the query but violate the instruction, so the model cannot ignore the instruction. Nimble edits one evidence sentence so the label depends on the focus fact, not on surface overlap. Both are generated rather than mined, because natural corpora rarely contain such controlled pairs.
    • Difference: retrieval hard negatives carry a false-negative risk (unlabelled relevant passages, the motivation for positive-aware mining); Nimble avoids that by deriving labels in code from checked facts, but inherits the verifier model's errors, since separate calls to one model can share a mistake.
    • Split: LTR keeps all documents of a query in one fold; Nimble keeps all examples of a source family (and both members of a pair) in one split. Both prevent the model being evaluated on near-copies of its training groups.
    • VitaminC is the human-labelled analogue in the public suite: one Wikipedia revision gives near-identical evidence with different labels. Nimble reaches 76.6% there against Jev's 80.1%.

Done with this page?

Status