VisualGLM-6B
VisualGLM-6B copied to clipboard
UnboundLocalError: local variable 'batch_size' referenced before assignment
Hi
I have a mistake when using the "model.chat()" function. here are some pictures about it
there may be a mistake happend in " ~/.cache/huggingface/modules/transformers_modules/visualglm-6b/modeling_chatglm.py" 907 line. how can i correct it? thanks
the model and tokenizer have already finished