sarahciston commited on
Commit
9732177
·
verified ·
1 Parent(s): 7aa7ed3
Files changed (1) hide show
  1. sketch.js +1 -1
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(message, { tokenize: false });
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, {