Cannot load model with transformers ==5.3.0
#46
by xinhe - opened
Hi, do we have the plan to support transformers >= 5.0? I met below errors when loading this model with transformers==5.3.0
- AttributeError: 'ChatGLMConfig' object has no attribute 'max_length'. Did you mean: 'seq_length' (could be fixed by changing the name in modeling, then I got the second error.)
- AttributeError: 'ChatGLMForConditionalGeneration' object has no attribute 'all_tied_weights_keys'