lexeuropa-qwen3b-merged-v4
The current default generator of LexEuropa. LoRA (r=16, alpha=32, 2 epochs, 176 steps, final loss 0.0055) on Qwen2.5-3B-Instruct, trained on 1,402 examples (dataset iPwnds/lexeuropa-sft, main): natural-language topic questions with whole-article targets (every paragraph cited from its own source handle), reference-style questions, and refusals.
Evaluation (answer-quality set: 28 in-scope questions with hand-grounded checklists, graded by Qwen2.5-72B; plus 4 out-of-corpus trap questions). With the project's final retrieval (restricted to the law a question names, whole-article context from the same law, judgment rulings, consolidated statute texts): mean completeness 0.87, 71% of answers fully complete, the right provision retrieved for 28/28, no flagged contradictions, all 4 trap questions declined; citation precision/recall 0.87 / 0.88 on 25 natural-language questions. For comparison, on the earlier 25-question version of the set the previous default v1 scored 0.56 completeness and 16% fully complete, and the stock Qwen2.5-72B 0.62 and 16%, so the sets are close but not identical. Without article expansion v4 is no better than v1 (0.56): it is the combination of v4 and retrieval that helps. In the final runs a stock 72B fallback model, not this model, produced 5 of the 32 quality-set answers and 1 of the 25 citation-set answers. Not yet measured on the later, doubled corpus (81 instruments). n is small and each configuration was run once. Read as better completeness and citation discipline, not as legal reasoning.
Limitations. English only; trained on the GDPR, other EU legislation and three judgments. It copies the passages it is given, so irrelevant sources can leak into answers (the project restricts expansion to one instrument for this reason). May refuse when the sources do answer; the project retries those on a stronger model. Research prototype, not legal advice.