Stefan

Results 1 comments of Stefan

for question 1, actually, you can modifie it like this: (1) tokenizer=None and: (2) if self.tokenizer is None: self.tokenizer = AutoTokenizer.from_pretrained(self.tokenizer_id) # print(chat_template_messages) return self.tokenizer.apply_chat_template(chat_template_messages, tokenize=False, add_generation_prompt=True) ![image](https://github.com/user-attachments/assets/7fc574ae-9615-4b41-8a27-4acbd60c3f80)