Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,36 @@
|
|
1 |
-
---
|
2 |
-
license: artistic-2.0
|
3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: artistic-2.0
|
3 |
+
---
|
4 |
+
|
5 |
+
Model was tuned using Two Formats:
|
6 |
+
|
7 |
+
Use This Template for Ollama Model File
|
8 |
+
```
|
9 |
+
TEMPLATE """
|
10 |
+
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
|
11 |
+
|
12 |
+
{{ if .System }}### Instruction:
|
13 |
+
{{ .System }}{{ end }}
|
14 |
+
|
15 |
+
{{ if .Prompt }}### Input:
|
16 |
+
{{ .Prompt }}{{ end }}
|
17 |
+
|
18 |
+
### Response:
|
19 |
+
"""
|
20 |
+
```
|
21 |
+
|
22 |
+
Also Context-Obedient Template:
|
23 |
+
```
|
24 |
+
TEMPLATE """
|
25 |
+
BEGININPUT
|
26 |
+
BEGINCONTEXT
|
27 |
+
ENDCONTEXT
|
28 |
+
{{ if .System }}<|system|>:{{ .System }}{{ end }}
|
29 |
+
ENDINPUT
|
30 |
+
BEGININSTRUCTION
|
31 |
+
{{ if .Prompt }}{{ .Prompt }}{{ end }}
|
32 |
+
ENDINSTRUCTION
|
33 |
+
### Contextual Response
|
34 |
+
{{ .Response }}
|
35 |
+
"""
|
36 |
+
```
|