Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Implemented a seed parameter for the Playground component to allow for reproducible model outputs.
Browse files
src/lib/components/Playground/Playground.svelte
CHANGED
|
@@ -73,6 +73,7 @@
|
|
| 73 |
],
|
| 74 |
temperature: 0.1,
|
| 75 |
max_tokens: 500,
|
|
|
|
| 76 |
})) {
|
| 77 |
if (streamingMessage && chunk.choices[0]?.delta?.content) {
|
| 78 |
streamingMessage.content += chunk.choices[0].delta.content;
|
|
|
|
| 73 |
],
|
| 74 |
temperature: 0.1,
|
| 75 |
max_tokens: 500,
|
| 76 |
+
seed: 0,
|
| 77 |
})) {
|
| 78 |
if (streamingMessage && chunk.choices[0]?.delta?.content) {
|
| 79 |
streamingMessage.content += chunk.choices[0].delta.content;
|