Controlled benchmark
The adapter generated 200 responses for 100 synthetic pairs across ten scenario templates. Within each pair, the question and evidence were unchanged and only the candidate answer changed.
Table with columns: Measure, Result| Measure | Result |
|---|
| Valid JSON objects with all requested scores in range | 200 / 200 |
| Supported answer scored higher for correctness | 7 / 100 pairs |
| Contradicted answer scored higher for correctness | 9 / 100 pairs |
| Equal correctness scores | 84 / 100 pairs |
Faithfulness and hallucination avoidance had the same aggregate breakdown. These results describe the controlled prompt set. Scoring accuracy and calibration across the full held-out dataset remain unverified. See benchmark-results.json for the test inputs and raw predictions.
Load the adapter
from peft import PeftModelfrom transformers import AutoModelForCausalLM, AutoTokenizer base_id = "Qwen/Qwen2.5-0.5B-Instruct"adapter_id = "Meyank/qwen2.5-0.5b-json-lora"tokenizer = AutoTokenizer.from_pretrained(base_id)base = AutoModelForCausalLM.from_pretrained(base_id)model = PeftModel.from_pretrained(base, adapter_id).eval()
Saved training notebook · Training dataset