Schema JSON Extractor 4B - the evaluation, case by case

Give a model a JSON Schema and a text; it must return one JSON object that validates against the schema, with null for anything the text does not state. This is a LoRA adapter on Qwen3-4B-Instruct-2507, compared with the untuned base model on hand-written cases the training generator never produced.

Pre-computed outputs, not a live demo. A 4B model is too heavy to host for free, so this page shows exactly what each model returned on every eval case, scored field by field with the published scorer. To run the model yourself use the snippet on the model card.

What the numbers say, honestly: the headline accuracy gain is almost entirely resistance to instructions hidden in the text (tuned obeyed 0 of 9 on the fresh set, base 9 of 9). On cases without a hidden instruction the two are about equal. Pick a case tagged injection to see it, or a span or plain case to see the tuned model's own mistakes.

Links: model · dataset · code, evals and write-up

Field by field

Schema and answer key

Scorer: normalised string equality (case, punctuation and honorifics ignored), strict numbers and booleans, containment only when the shorter value is at least 75% of the longer. The release rule (+2.0 points and no more invented values) was written before any result. The fresh set alone is not statistically significant (p = 0.12); the first set informed v4's design. See the blog for the full account.