求救!!我在使用LoRA微调ChatGLM V2时已经设置了: --max_source_length 8192 \ --max_target_length 512,
但是在加载权重推理时,我传输了:"max_length": 8192,还是报错:(如何设置最大输入文本长度)
Input length of input_ids is 4955, but max_length is set to 2048. This can lead to unexpected behavior. You should consider increasing max_new_tokens.
求救!!我在使用LoRA微调ChatGLM V2时已经设置了: --max_source_length 8192 \ --max_target_length 512, 但是在加载权重推理时,我传输了:"max_length": 8192,还是报错:(如何设置最大输入文本长度) Input length of input_ids is 4955, but
max_length
is set to 2048. This can lead to unexpected behavior. You should consider increasingmax_new_tokens
.