Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Wauplin committed Jan 25, 2024
1 parent 5912d96 commit eaa4808
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@
updateUrl({ text: trimmedText });
}
const chat = [
{ role: "user", content: "Hello, how are you?" },
{ role: "assistant", content: "I'm doing great. How can I help you today?" },
{ role: "user", content: "I'd like to show off how chat templating works!" },
];
// const chat = [
// { role: "user", content: "Hello, how are you?" },
// { role: "assistant", content: "I'm doing great. How can I help you today?" },
// { role: "user", content: "I'd like to show off how chat templating works!" },
// ];
const chatTemplate = model.config?.tokenizer?.chat_template;
if (chatTemplate === undefined) {
outputJson = "";
Expand Down

0 comments on commit eaa4808

Please sign in to comment.