Views
No views yet
Deal Context → Playbook Rules → Dense Retriever (37K clauses) → SaulLM-7B (4-bit) → NLI Verifier → Final Contract
↑ ↑ ↑ ↑
Party Position Clause Dependency Graph Precedent Clauses Per-Clause NLIplaybook.py)dense_retriever.py)clause_graph.py)contract-drafter-v1)| Version | Model | Overall | NLI | Semantic Recall |
|---|---|---|---|---|
| V11 | Base SaulLM-7B | 0.646 | 0.553 | 0.167 |
| V12 (running) | Fine-tuned | TBD | TBD | TBD |
| Repo | Type | Description |
|---|---|---|
| contract-drafter-v1 | Model | Fine-tuned drafting model (3.8GB) |
| contract-clause-index-v1 | Dataset | 37.5K clauses + embeddings |
| contract-nli-v1 | Model | Legal-domain NLI |
| contract-drafts-v1 | Dataset | Eval results (v8-v12) |
| contract-drafting-assistant | Model | Playbook + fallback positions |
| contract-drafting-assistant | Space | Interactive Gradio UI |
1from transformers import AutoModelForCausalLM, AutoTokenizer
2model = AutoModelForCausalLM.from_pretrained(
3 "narcolepticchicken/contract-drafter-v1",
4 device_map="auto",
5 load_in_4bit=True,
6)
7tokenizer = AutoTokenizer.from_pretrained("narcolepticchicken/contract-drafter-v1")
8# See run_v12.py for the full drafting pipeline