ChatGLM3 icon indicating copy to clipboard operation
ChatGLM3 copied to clipboard

8k的窗口,为何query len才几百就提示我的input id 已经超过了8k,后面直接RuntimeError

Open HarryYuan007 opened this issue 3 years ago • 0 comments

261699325935_ pic 我的query 长度是用chatglm在hugging face上的tokenizer 分词后的,才502,但是提示我输入超了,后面报这个错误,我看显存并没有报,请教下,这个问题需要怎么解决,脚本是用的官方教程 281699326210_ pic

HarryYuan007 avatar Nov 07 '23 03:11 HarryYuan007