Vidhi

Vidhi is an Indian legal language model fine-tuned on a corpus of Supreme Court of India judgments and Central Government legislation. It is designed to assist with legal research, statutory interpretation, and understanding of Indian jurisprudence across criminal, civil, constitutional, and commercial law.

The model runs entirely on consumer hardware. No API, no internet connection, no subscription.


Quick Start

Ollama (recommended)

ollama run hf.co/prawinin/vidhi

Requires Ollama installed. The model loads in under 10 seconds on a 4 GB GPU and under 20 seconds on CPU.

llama.cpp

llama-cli -hf prawinin/vidhi

What It Knows

Vidhi was trained on over 100,000 Indian legal documents spanning:

  • Supreme Court judgments across constitutional, criminal, civil, and commercial benches
  • High Court orders and doctrine from multiple jurisdictions
  • Central Acts and statutory provisions covering major legislation in force in India

The model has working knowledge of the Indian Constitution, the Indian Penal Code, the Code of Criminal Procedure, the Code of Civil Procedure, the Negotiable Instruments Act, the Consumer Protection Act, the Transfer of Property Act, the Companies Act, GST legislation, and several hundred other Central Acts.


Model Details

Property Value
Base model Llama 3.2 3B Instruct
Fine-tuning method LoRA (rank 16, alpha 16)
Context window 8,192 tokens
Quantization Q4_K_M
File size ~2.0 GB
Minimum VRAM 3 GB (GPU) or 8 GB RAM (CPU)

Limitations

  • Vidhi is a research and educational tool. It is not a substitute for qualified legal advice from a licensed advocate.
  • The model has a knowledge cutoff and may not reflect recent amendments, new legislation, or judgments delivered after its training data was collected.
  • Outputs should always be independently verified against authoritative sources before being relied upon in any professional context.

License

This model is made available for personal, non-commercial evaluation only.

You may not redistribute, sublicense, sell, modify, or use this model or any derivative of it in any product, service, or research publication without explicit written permission.

For commercial licensing, enterprise deployment, partnerships, or any other inquiries: prawin@vyapai.tech

Built with Unsloth. Underlying base model subject to the Meta Llama 3.2 Community License.

Downloads last month
261
GGUF
Model size
3B params
Architecture
llama
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for prawinin/vidhi

Quantized
(534)
this model