ZGC-LLM-Safety / TrafficLLM

The repository of TrafficLLM, a universal LLM adaptation framework to learn robust traffic representation for all open-sourced LLM in real-world scenarios and enhance the generalization across diverse traffic analysis tasks.
121 stars 16 forks source link

TypeError: ChatGLMTokenizer._pad() got an unexpected keyword argument 'padding_side' #14

Open PrecursorYork opened 1 month ago

PrecursorYork commented 1 month ago

This error occurs when waiting for a reply, whether using the webdemo or the command line

CuiTianyu961030 commented 1 month ago

Thanks for using our codes!

This may be because your current GLM models and transformers versions do not match. You can follow similar issue reports (like https://github.com/THUDM/ChatGLM3/issues/1324).

Hope the solution works for you.