You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: web-app/src/lib/predefined.ts
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
exportconstmodelSettings={
2
2
ctx_len: {
3
-
key: 'ctx_len',// ctx_size
3
+
key: 'ctx_len',
4
4
title: 'Context Size',
5
5
description: 'Size of the prompt context (0 = loaded from model).',
6
6
controller_type: 'input',
@@ -11,7 +11,7 @@ export const modelSettings = {
11
11
},
12
12
},
13
13
ngl: {
14
-
key: 'ngl',// n_gpu_layers
14
+
key: 'ngl',
15
15
title: 'GPU Layers',
16
16
description:
17
17
'Number of model layers to offload to the GPU (-1 for all layers, 0 for CPU only).',
@@ -24,7 +24,7 @@ export const modelSettings = {
24
24
},
25
25
26
26
temperature: {
27
-
key: 'temperature',// temp
27
+
key: 'temperature',
28
28
title: 'Temperature',
29
29
description:
30
30
'Temperature for sampling (higher = more random). This is the default setting on load and can be overridden by the assistant settings.',
@@ -38,7 +38,7 @@ export const modelSettings = {
38
38
},
39
39
},
40
40
top_k: {
41
-
key: 'top_k',// top-k
41
+
key: 'top_k',
42
42
title: 'Top K',
43
43
description:
44
44
'Top-K sampling (0 = disabled). This is the default setting on load and can be overridden by the assistant settings.',
@@ -50,7 +50,7 @@ export const modelSettings = {
50
50
},
51
51
},
52
52
top_p: {
53
-
key: 'top_p',// top-p
53
+
key: 'top_p',
54
54
title: 'Top P',
55
55
description:
56
56
'Top-P sampling (1.0 = disabled). This is the default setting on load and can be overridden by the assistant settings.',
@@ -62,7 +62,7 @@ export const modelSettings = {
62
62
},
63
63
},
64
64
min_p: {
65
-
key: 'min_p',// min-p
65
+
key: 'min_p',
66
66
title: 'Min P',
67
67
description:
68
68
'Min-P sampling (0.0 = disabled). This is the default setting on load and can be overridden by the assistant settings.',
@@ -74,7 +74,7 @@ export const modelSettings = {
74
74
},
75
75
},
76
76
repeat_last_n: {
77
-
key: 'repeat_last_n',//repeat-last-n
77
+
key: 'repeat_last_n',
78
78
title: 'Repeat Last N',
79
79
description:
80
80
'Number of tokens to consider for repeat penalty (0 = disabled, -1 = ctx_size). This is the default setting on load and can be overridden by the assistant settings.',
@@ -86,7 +86,7 @@ export const modelSettings = {
86
86
},
87
87
},
88
88
repeat_penalty: {
89
-
key: 'repeat_penalty',// repeat-penalty
89
+
key: 'repeat_penalty',
90
90
title: 'Repeat Penalty',
91
91
description:
92
92
'Penalize repeating token sequences (1.0 = disabled). This is the default setting on load and can be overridden by the assistant settings.',
@@ -98,7 +98,7 @@ export const modelSettings = {
98
98
},
99
99
},
100
100
presence_penalty: {
101
-
key: 'presence_penalty',// presence-penalty
101
+
key: 'presence_penalty',
102
102
title: 'Presence Penalty',
103
103
description:
104
104
'Repeat alpha presence penalty (0.0 = disabled). This is the default setting on load and can be overridden by the assistant settings.',
0 commit comments