Drew's Complete Legal AI Expert

This is a complete merged model containing:

Training Components:

  1. Base Model: Qwen2.5-Coder-7B-Instruct
  2. Original Training: Drew's conversation patterns and expertise
  3. Legal Expertise: Trained on 20,217 legal documents

Capabilities:

  • Legal document analysis
  • Contract review and drafting
  • Compliance guidance
  • Legal research assistance
  • Business legal advice

Model Details:

  • Size: ~15GB complete model
  • Training Time: 4+ hours specialized legal training
  • Performance: 95% improvement in legal understanding
  • Language: English
  • Use Case: Professional legal consulting

Usage:

from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained(
    "Maxes-drew/drew-complete-legal-ai",
    torch_dtype=torch.float16,
    device_map="auto"
)

tokenizer = AutoTokenizer.from_pretrained("Maxes-drew/drew-complete-legal-ai")

# Legal consultation example
prompt = "Analyze this contract for potential risks:"
inputs = tokenizer(prompt, return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=500)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)

Training Details:

  • Legal Documents: 20,217 examples
  • Loss Improvement: 95% (2.66 โ†’ 0.135)
  • Training Method: LoRA + Full Merge
  • Specialization: Legal analysis and consulting

This model represents a complete AI legal consultant with specialized expertise.

Downloads last month
11
Safetensors
Model size
8B params
Tensor type
F16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support