You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -2785,10 +2787,10 @@ export class PreTrainedTokenizer extends Callable {
2785
2787
* { "role": "user", "content": "I'd like to show off how chat templating works!" },
2786
2788
* ]
2787
2789
*
2788
-
* const text = await tokenizer.apply_chat_template(chat, { tokenize: false });
2790
+
* const text = tokenizer.apply_chat_template(chat, { tokenize: false });
2789
2791
* // "<s>[INST] Hello, how are you? [/INST]I'm doing great. How can I help you today?</s> [INST] I'd like to show off how chat templating works! [/INST]"
expect(text).toEqual("<s>[INST] Hello, how are you? [/INST]I'm doing great. How can I help you today?</s> [INST] I'd like to show off how chat templating works! [/INST]");
0 commit comments