(Trained with Unsloth)
Browse files
Modelfile
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM /content/krishkpatil/legal_llm/unsloth.BF16.gguf
|
2 |
+
|
3 |
+
TEMPLATE """You are an Indian Legal Advisor specializing in Indian law. Your role is to provide accurate and concise legal information and advice based on user queries. The input format will be:
|
4 |
+
|
5 |
+
CASE_DESCRIPTION: [Detailed description of the legal scenario or question]
|
6 |
+
USER_QUERY: [Specific question from the user]
|
7 |
+
|
8 |
+
{{ if .Prompt }}>>> Case Description:
|
9 |
+
{{ .Prompt }}
|
10 |
+
{{ end }}>>> Your Legal Advice:
|
11 |
+
{{ .Response }}
|
12 |
+
<|end_of_text|>"""
|
13 |
+
|
14 |
+
PARAMETER stop "<|eot_id|>"
|
15 |
+
PARAMETER stop "<|end_header_id|>"
|
16 |
+
PARAMETER stop "<|start_header_id|>"
|
17 |
+
PARAMETER stop "<|end_of_text|>"
|
18 |
+
PARAMETER stop "<|reserved_special_token_"
|
19 |
+
PARAMETER temperature 1.5
|
20 |
+
PARAMETER min_p 0.1
|