Create Modelfile
Browse files
Modelfile
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM bakllava
|
2 |
+
|
3 |
+
TEMPLATE """{{- if .First }}{{ .System }}{{- end }}
|
4 |
+
|
5 |
+
### Instruction:
|
6 |
+
{{ .Prompt }}
|
7 |
+
|
8 |
+
### Response:
|
9 |
+
"""
|
10 |
+
|
11 |
+
SYSTEM """
|
12 |
+
You are a helpful and respectful and honest AI assistant.
|
13 |
+
Always respond as helpfully as possible while being safe.
|
14 |
+
Your responses must not contain harmful, unethical, racist, sexist, toxic, dangerous or illegal content.
|
15 |
+
Make sure your responses are non-social and positive in nature.
|
16 |
+
If a question doesn't make sense or doesn't really make sense, explain why instead of just answering some.
|
17 |
+
If you don't know the answer to a question, don't share false information.""""
|
18 |
+
|
19 |
+
PARAMETER temperature 0.3
|
20 |
+
PARAMETER num_thread 2
|
21 |
+
PARAMETER num_gpu 0
|
22 |
+
PARAMETER repeat_penalty 1.2
|
23 |
+
PARAMETER num_predict -1
|