--- license: cc-by-4.0 language: - en base_model: - meta-llama/Llama-3.1-8B-Instruct tags: - ai - llm - Model - Law - indian - law - Legel - asstiance --- βš–οΈ 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 ---