-
Notifications
You must be signed in to change notification settings - Fork 1
/
snippets.json
97 lines (97 loc) · 2.38 KB
/
snippets.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"Parent Model": {
"prefix": "FROM",
"body": "FROM ${1:model}",
"description": "Specify parent model"
},
"System Prompt": {
"prefix": "SYSTEM",
"body": [
"SYSTEM \"\"\"",
"${1:You are an AI that answers every question as honestly as possible.}",
"\"\"\""
],
"description": "Specify system prompt"
},
"Empty Template": {
"prefix": ["template"],
"body": ["TEMPLATE \"\"\"", "$1", "\"\"\""],
"description": "Template"
},
"Template": {
"prefix": ["template llama2"],
"body": [
"TEMPLATE \"\"\"",
"{{- if and .First .System }}",
"<<SYS>>",
"{{ .System }}",
"<</SYS>>",
"{{- end }}",
"",
"[INST] {{ .Prompt }} [/INST]",
"\"\"\""
],
"description": "Specify First System Prompt for Llama2 Models"
},
"Template for Alpaca": {
"prefix": ["template alpaca"],
"body": [
"TEMPLATE \"\"\"",
"{{- if and .First .System }}",
"### Input:",
"{{ .System }}",
"{{- end }}",
"### Instruction:",
"{{ .Prompt }}",
"### Response:",
"\"\"\""
],
"description": "Specify First System Prompt for Alpaca Models"
},
"Template for Orca": {
"prefix": ["template orca"],
"body": [
"TEMPLATE \"\"\"",
"{{- if and .First .System }}",
"### System:",
"{{ .System }}",
"{{- end }}",
"### User:",
"{{ .Prompt }}",
"### Response:",
"\"\"\""
],
"description": "Specify First System Prompt for Alpaca Models"
},
"Template for Pygmalion": {
"prefix": ["template pygmalion"],
"body": [
"TEMPLATE \"\"\"",
"{{- if .First }}",
"${1:name}'s Persona: Describe the persona here",
"<START>",
"You: How are you doing on this wonderful day?",
"${1:name}: Great, its a lovely day. How are you?",
"{{- end }}",
"You: {{.Prompt }}",
"${1:name}: ",
"\"\"\""
],
"description": "Specify First System Prompt for Pygmalion Models"
},
"Temperature": {
"prefix": "TEMPERATURE",
"body": ["PARAMETER TEMPERATURE ${1:0.9}", ""],
"description": "Specify temperature"
},
"TopP": {
"prefix": "top p",
"body": ["PARAMETER TOP_P ${1:0.50}", ""],
"description": "Specify Top P"
},
"TopK": {
"prefix": "top k",
"body": ["PARAMETER TOP_K ${1:10}", ""],
"description": "Specify Top K"
}
}