default steps
Browse files
src/lib/components/InferencePlayground/generationConfigSettings.ts
CHANGED
@@ -8,14 +8,14 @@ interface GenerationKeySettings {
|
|
8 |
|
9 |
export const GENERATION_CONFIG_SETTINGS: Record<string, GenerationKeySettings> = {
|
10 |
temperature: {
|
11 |
-
default: 0.
|
12 |
step: 0.1,
|
13 |
min: 0,
|
14 |
max: 2,
|
15 |
label: "Temperature",
|
16 |
},
|
17 |
max_tokens: {
|
18 |
-
default:
|
19 |
step: 256,
|
20 |
min: 0,
|
21 |
max: 8192, // changed dynamically based on model
|
|
|
8 |
|
9 |
export const GENERATION_CONFIG_SETTINGS: Record<string, GenerationKeySettings> = {
|
10 |
temperature: {
|
11 |
+
default: 0.5,
|
12 |
step: 0.1,
|
13 |
min: 0,
|
14 |
max: 2,
|
15 |
label: "Temperature",
|
16 |
},
|
17 |
max_tokens: {
|
18 |
+
default: 1024,
|
19 |
step: 256,
|
20 |
min: 0,
|
21 |
max: 8192, // changed dynamically based on model
|