chatglm.cpp icon indicating copy to clipboard operation
chatglm.cpp copied to clipboard

self.tokenizer is none, how to solve this problem.

Open lzj-r opened this issue 1 year ago • 4 comments

when submit the content by pressing the button,(run web-demo.py), the fault occur。

error content: File "c:\Users\lzj_r\chatglm.cpp\chatglm_cpp_init_.py", line 68, in chat input_ids = self.tokenizer.apply_chat_template(messages, max_context_length) AttributeError: 'NoneType' object has no attribute 'apply_chat_template'

lzj-r avatar Jun 26 '24 16:06 lzj-r