Spaces:
Running
Running
sarahciston
commited on
Commit
•
8df278e
1
Parent(s):
a244abf
typo
Browse files
sketch.js
CHANGED
@@ -18,12 +18,12 @@ async function textGenTask(input){
|
|
18 |
|
19 |
var out = await pipe(input, {
|
20 |
// temperature: 2,
|
21 |
-
max_new_tokens: 200,
|
22 |
-
repetition_penalty: 2
|
23 |
-
min_new_tokens: 100
|
24 |
// no_repeat_ngram_size: 2,
|
25 |
// num_beams: 2,
|
26 |
// num_return_sequences: 2
|
|
|
|
|
|
|
27 |
})
|
28 |
|
29 |
console.log(await out)
|
|
|
18 |
|
19 |
var out = await pipe(input, {
|
20 |
// temperature: 2,
|
|
|
|
|
|
|
21 |
// no_repeat_ngram_size: 2,
|
22 |
// num_beams: 2,
|
23 |
// num_return_sequences: 2
|
24 |
+
max_new_tokens: 200,
|
25 |
+
min_new_tokens: 100,
|
26 |
+
repetition_penalty: 2
|
27 |
})
|
28 |
|
29 |
console.log(await out)
|