LexiTune – Legal Contract Fine-tune
LoRA fine-tune of Llama 3.1 8B for clause extraction and risk flagging in Indian commercial contracts, with eval suite.
LexiTune extracts clauses, obligations and risks from contracts, trained on a curated, licence-clean corpus of commercial agreements.
Key features
- LoRA adapters for Llama 3.1 8B Instruct
- Clause extraction to a typed JSON schema
- Risk flags with rationale
- Evaluation suite with 400 labelled contracts
- vLLM and Ollama serving configs
Tech stack
- PyTorch
- PEFT/LoRA
- vLLM
Requirements
- GPU with 16 GB VRAM for inference
- Python 3.11+
Installation
- Download the adapter weights from the package.
- Load with
pefton top of Llama 3.1 8B Instruct. - Run
python eval.pyto reproduce benchmark results.
What's included
- Full source code with comments
- Step-by-step documentation
- Demo data and seed scripts where applicable
- 12 months of author support and all future updates
More from this author
SupportGenie – AI Customer Support Agent
FastAPILangChainGemini+3
(33)
390 salesUpdated 2d ago
from
$179Related in AI & Machine Learning Tools
SupportGenie – AI Customer Support Agent
FastAPILangChainGemini+3
(33)
390 salesUpdated 2d ago
from
$179