Qwen 0.5B - Company Law (Phase 1: Continued Pretraining)
⚠️ Critical Disclaimer
This model is NOT suitable for legal advice or production use. It hallucinates case citations, confuses legal concepts, and produces factually incorrect information. This is an experimental model for educational purposes only.
Model Description
This is Qwen2.5-0.5B fine-tuned on a company law textbook through continued pretraining. The model learned legal vocabulary and writing style but exhibits significant factual inaccuracies and overfitting to the training data's structure.
Developed by: Pactoria
Model type: Causal Language Model (Decoder-only Transformer)
✅ Generates grammatically correct legal text
✅ Uses appropriate legal terminology
✅ References Companies Act 2006 and case names
✅ Maintains coherent sentence structure
✅ No catastrophic collapse (no repetition/gibberish)
Critical Limitations
❌ Hallucinates case citations - Invents fake cases and misattributes legal principles
❌ Confuses case law - Misrepresents what famous cases established
❌ Overfitted to textbook format - Outputs exam questions instead of explanations
❌ Factual inaccuracies - Provides incorrect legal information
❌ No fact-checking - Cannot distinguish real from invented law
Example Hallucinations
Prompt: "The doctrine of separate legal personality" Output: "was developed by... Robert Goff and Sir Henry Price in... Bell v Lever Bros Ltd [1920]" Reality: ❌ Completely false. The doctrine comes from Salomon v Salomon [1897], not Bell v Lever Bros.
Prompt: "In Macaura v Northern Assurance" Output: "shareholders are entitled to the dividends..." Reality: ❌ Wrong. Macaura is about insurable interest, not dividends.
Out-of-Scope Uses
DO NOT use this model for:
Legal advice or consultation
Academic citations or legal research
Court filings or legal documents
Any situation where accuracy matters
Production applications
Decision-making about legal matters
Misuse risks:
Providing harmful legal misinformation
Making incorrect legal decisions
Academic misconduct if used for assignments
Liability issues if used for actual legal work
Bias & Ethical Considerations
Training bias: Single textbook from UK jurisdiction (not representative of all legal systems)
Temporal bias: Training data reflects law as of textbook publication (may be outdated)
Accessibility bias: Written in formal legal English (may exclude non-experts)
Hallucination risk: Model confidently states false information (dangerous in legal context)
Evaluation Results
Manual Testing (35 prompts across 8 categories)
Test Category
Result
Legal definitions
Coherent but sometimes wrong
Case law citations
Frequently hallucinates
Companies Act references
Better accuracy on Section 42
Question answering
Mixed; sometimes outputs exam questions
Long-form generation
Coherent but factually unreliable
Edge cases
Handles unusual inputs without crashing
Overall Assessment: Model learned legal writing style but not factual accuracy.
Environmental Impact
Hardware: 1x NVIDIA Tesla T4 (16GB)
Training time: 20 minutes
Cloud provider: Kaggle
Estimated CO2: ~0.02 kg (20 min × 70W GPU × 0.475 kg CO2/kWh grid average)
Version: 1.0 (Phase 1 only) Last Updated: October 2025 Status: Experimental - Educational use only
This model card is honest about limitations while still documenting what was accomplished. Replace `your-username` and `[Your Name]` with your actual details before uploading.