Spaces:
Running
Running
typo
Browse files
sketch.js
CHANGED
|
@@ -28,7 +28,7 @@ async function textGenTask(input){
|
|
| 28 |
]
|
| 29 |
|
| 30 |
// const prompt = tokenizer.apply_chat_template(messages, { tokenize: false });
|
| 31 |
-
const prompt = pipe.tokenizer.apply_chat_template(
|
| 32 |
|
| 33 |
// run text through model, setting hyperparameters
|
| 34 |
var out = await pipe(prompt, {
|
|
|
|
| 28 |
]
|
| 29 |
|
| 30 |
// const prompt = tokenizer.apply_chat_template(messages, { tokenize: false });
|
| 31 |
+
const prompt = pipe.tokenizer.apply_chat_template(messages, { tokenize: false });
|
| 32 |
|
| 33 |
// run text through model, setting hyperparameters
|
| 34 |
var out = await pipe(prompt, {
|