Mubashir2004khan commited on
Commit
cc87c21
Β·
verified Β·
1 Parent(s): 22a8c75

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +166 -3
README.md CHANGED
@@ -1,3 +1,166 @@
1
- ---
2
- license: cc-by-4.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ language:
4
+ - en
5
+ base_model:
6
+ - meta-llama/Llama-3.1-8B-Instruct
7
+ tags:
8
+ - ai
9
+ - llm
10
+ - Model
11
+ - Law
12
+ - indian
13
+ - law
14
+ - Legel
15
+ - asstiance
16
+ ---
17
+ βš–οΈ ZAVIA β€” Indian Legal AI Assistant
18
+
19
+ ZAVIA is a domain-specialized Large Language Model (LLM) designed to provide accurate, structured, and responsible explanations of Indian law.
20
+ It is fine-tuned specifically for Indian legal statutes, constitutional provisions, and legal concepts, with a strong focus on clarity and correctness.
21
+
22
+ 🧠 Legal clarity, powered by AI.
23
+
24
+ πŸ” What is ZAVIA?
25
+
26
+ ZAVIA is an AI-powered Indian legal assistant built to help students, researchers, and developers understand Indian laws in a simplified yet professional manner.
27
+
28
+ It focuses on:
29
+
30
+ Explaining legal provisions clearly
31
+
32
+ Citing relevant sections and acts
33
+
34
+ Maintaining a professional legal tone
35
+
36
+ Avoiding hallucinated or speculative answers
37
+
38
+ Clearly stating limitations where legal advice is required
39
+
40
+ ⚠️ ZAVIA does NOT replace a qualified lawyer and is intended strictly for educational and research purposes.
41
+
42
+ πŸ“š Legal Domains Covered
43
+
44
+ ZAVIA is optimized for the following Indian legal areas:
45
+
46
+ Constitution of India
47
+
48
+ Indian Penal Code (IPC)
49
+
50
+ Criminal Procedure Code (CrPC)
51
+
52
+ Civil Procedure Code (CPC)
53
+
54
+ Indian Contract Act, 1872
55
+
56
+ Transfer of Property Act, 1882
57
+
58
+ Bharatiya Nyaya Sanhita (BNS)
59
+
60
+ Core legal terminology and procedural concepts
61
+
62
+ Case-law interpretation (high-level, non-advisory)
63
+
64
+ πŸ› οΈ Technical Overview
65
+
66
+ Base Model: LLaMA-family (8B class)
67
+
68
+ Fine-Tuning Method: LoRA (Low-Rank Adaptation)
69
+
70
+ Merged Model: FP16 (full-precision merged)
71
+
72
+ Quantization: GGUF (Q4_K_M)
73
+
74
+ Inference Ready For:
75
+
76
+ Ollama
77
+
78
+ LM Studio
79
+
80
+ llama.cpp
81
+
82
+ Local CPU/GPU setups
83
+
84
+ Optimized for local deployment with a balance between performance and accuracy.
85
+
86
+ πŸš€ Usage
87
+ πŸ”Ή Using with Ollama (Recommended)
88
+ ollama create zavia -f Modelfile
89
+ ollama run zavia
90
+
91
+
92
+ Example prompt:
93
+
94
+ Explain IPC Section 420 in simple terms.
95
+
96
+ πŸ”Ή Using with llama.cpp
97
+ ./llama-cli -m zavia_q4_k_m.gguf -p "Explain Article 21 of the Indian Constitution"
98
+
99
+ πŸ”Ή Using with LM Studio
100
+
101
+ Open LM Studio
102
+
103
+ Place the .gguf file inside the models directory
104
+
105
+ Load the model
106
+
107
+ Start chatting
108
+
109
+ Note: If the model does not auto-detect, ensure it is a valid GGUF file and refresh the model list.
110
+
111
+ πŸ“¦ Model Files
112
+
113
+ Typical files included:
114
+
115
+ zavia_q4_k_m.gguf β€” quantized inference model
116
+
117
+ Modelfile β€” Ollama configuration
118
+
119
+ README.md β€” documentation
120
+
121
+ ⚠️ Disclaimer (Important)
122
+
123
+ ZAVIA provides informational and educational content only.
124
+
125
+ ❌ Not legal advice
126
+
127
+ ❌ Not a substitute for a lawyer
128
+
129
+ ❌ Not guaranteed for real-world legal decisions
130
+
131
+ Always consult a qualified legal professional for case-specific advice.
132
+
133
+ πŸ§ͺ Known Limitations
134
+
135
+ May not reflect very recent judgments or amendments
136
+
137
+ Cannot provide case-specific legal advice
138
+
139
+ Responses depend on prompt clarity
140
+
141
+ πŸ§‘β€πŸ’» Creator
142
+
143
+ Mubashir Khan
144
+ AI & Legal-Tech Enthusiast
145
+ Focused on LLM fine-tuning, legal AI, and local model deployment.
146
+
147
+ πŸ“„ License
148
+
149
+ This model is released for research and educational use.
150
+ Follow the original base model’s license and applicable legal guidelines.
151
+
152
+ 🌟 Why ZAVIA?
153
+
154
+ Built specifically for Indian law
155
+
156
+ Fine-tuned, not generic
157
+
158
+ Runs locally (privacy-friendly)
159
+
160
+ Open & portfolio-ready
161
+
162
+ Designed with responsible AI principles
163
+
164
+ ---
165
+ license: cc-by-4.0
166
+ ---