Legal / knowledge workextractionlegalllama

Extract contract clauses to JSON

Pull parties, terms, dates and obligations out of contracts into structured JSON — a private Llama-3.1-8B LoRA for your paper.

Llama 3.1 8B Instruct
Base model
LoRA
Method
~15 min
Train time
~$0.30 / M tokens
Serve cost

Dataset format: JSONL (instruct) — {contract span → structured JSON}

The flow

An interactive miniature of the actual training screen — step through it.

dashboard.futuranexus.app/training/new

New training job

Fine-tune an open model on your data. GPU auto-selected by model size.

Llama 3.3 70BPopular
70B params~40 GB (QLoRA)
Qwen3 32B
32B params~22 GB (QLoRA)
Gemma 3 12B
12B params~10 GB (LoRA)
Mistral Small 24B
24B params~16 GB (QLoRA)

Detected: JSONL (instruct) · 52,002 rows · validated

LoRA
Adapter weights only
QLoRA
4-bit base + adapters
SFT
Full supervised tune

Summary

ModelLlama 3.3 70B
MethodQLoRA · 4-bit
GPUA100 80GB
Epochs3
Est. time~2h 10m
Fits on one GPU
1/4Pick a base model

Llama, Qwen3, Gemma, Mistral… VRAM estimated per method, GPU auto-selected.

Step by step

  1. 1

    Prepare your dataset

    Format ~200–2,000 examples as (contract text → extracted JSON fields) pairs. Quality over quantity — a few hundred clean rows beats tens of thousands of noisy ones. Upload it, or point at a HuggingFace dataset.

  2. 2

    Pick the base model

    Choose the recommended base below (or any HF repo id). The dashboard auto-selects a right-sized GPU; you can override it.

  3. 3

    Configure the fine-tune

    Rank 16, seq length 8192 for long clauses, 3 epochs, low LR (1e-4) for faithful extraction. Completions-only on the JSON.

  4. 4

    Train

    Fast fine-tuning finishes in minutes. You get a standard safetensors adapter and a fit-quality receipt.

  5. 5

    Deploy & serve

    One click deploys your adapter onto a shared base-model GPU and gives you an OpenAI-compatible endpoint. You pay per token, not per idle GPU-hour. Swap one base_url and you're live.

Build the legal / knowledge work model

Standard safetensors out, OpenAI-compatible endpoint in. Export anytime — your weights are yours.

No minimum spend · per-second billing
Start this recipe