βοΈ ZAVIA β Indian Legal AI Assistant
ZAVIA is a domain-specialized Large Language Model (LLM) designed to provide accurate, structured, and responsible explanations of Indian law. It is fine-tuned specifically for Indian legal statutes, constitutional provisions, and legal concepts, with a strong focus on clarity and correctness.
π§ Legal clarity, powered by AI.
π What is ZAVIA?
ZAVIA is an AI-powered Indian legal assistant built to help students, researchers, and developers understand Indian laws in a simplified yet professional manner.
It focuses on:
Explaining legal provisions clearly
Citing relevant sections and acts
Maintaining a professional legal tone
Avoiding hallucinated or speculative answers
Clearly stating limitations where legal advice is required
β οΈ ZAVIA does NOT replace a qualified lawyer and is intended strictly for educational and research purposes.
π Legal Domains Covered
ZAVIA is optimized for the following Indian legal areas:
Constitution of India
Indian Penal Code (IPC)
Criminal Procedure Code (CrPC)
Civil Procedure Code (CPC)
Indian Contract Act, 1872
Transfer of Property Act, 1882
Bharatiya Nyaya Sanhita (BNS)
Core legal terminology and procedural concepts
Case-law interpretation (high-level, non-advisory)
π οΈ Technical Overview
Base Model: LLaMA-family (8B class)
Fine-Tuning Method: LoRA (Low-Rank Adaptation)
Merged Model: FP16 (full-precision merged)
Quantization: GGUF (Q4_K_M)
Inference Ready For:
Ollama
LM Studio
llama.cpp
Local CPU/GPU setups
Optimized for local deployment with a balance between performance and accuracy.
π Usage πΉ Using with Ollama (Recommended) ollama create zavia -f Modelfile ollama run zavia
Example prompt:
Explain IPC Section 420 in simple terms.
πΉ Using with llama.cpp ./llama-cli -m zavia_q4_k_m.gguf -p "Explain Article 21 of the Indian Constitution"
πΉ Using with LM Studio
Open LM Studio
Place the .gguf file inside the models directory
Load the model
Start chatting
Note: If the model does not auto-detect, ensure it is a valid GGUF file and refresh the model list.
π¦ Model Files
Typical files included:
zavia_q4_k_m.gguf β quantized inference model
Modelfile β Ollama configuration
README.md β documentation
β οΈ Disclaimer (Important)
ZAVIA provides informational and educational content only.
β Not legal advice
β Not a substitute for a lawyer
β Not guaranteed for real-world legal decisions
Always consult a qualified legal professional for case-specific advice.
π§ͺ Known Limitations
May not reflect very recent judgments or amendments
Cannot provide case-specific legal advice
Responses depend on prompt clarity
π§βπ» Creator
Mubashir Khan AI & Legal-Tech Enthusiast Focused on LLM fine-tuning, legal AI, and local model deployment.
π License
This model is released for research and educational use. Follow the original base modelβs license and applicable legal guidelines.
π Why ZAVIA?
Built specifically for Indian law
Fine-tuned, not generic
Runs locally (privacy-friendly)
Open & portfolio-ready
Designed with responsible AI principles
license: cc-by-4.0
Model tree for Mubashir2004khan/ZAVIA
Base model
meta-llama/Llama-3.1-8B